ipm icon indicating copy to clipboard operation
ipm copied to clipboard

`install` has an embedded SQL query trying to use %message

Open isc-dchui opened this issue 2 months ago • 0 comments

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)

isc-dchui avatar Nov 11 '25 22:11 isc-dchui