Skip to content

install has an embedded SQL query trying to use %message #964

@isc-dchui

Description

@isc-dchui

Embedded SQL uses the %msg variable and not the %message variable. The code should also initialize %msg before trying to use it.

The code as it stands:

ClassMethod Install(ByRef pCommandInfo) [ Internal ]
...
&sql(SELECT COUNT(*) into :count FROM %IPM_Repo.Definition WHERE Enabled = 1)
$$$ThrowSQLIfError(SQLCODE,%message)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions