ipm
ipm copied to clipboard
`install` has an embedded SQL query trying to use %message
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)