Using constant to call ASE stored procedure with output parameter

It is unsupported to use a constant to call an ASE stored procedure that contains output parameters. The call will return a different value from the value returned in PowerBuilder.

Workaround - assign the constant to a variable, and use the variable as the output parameter for calling the stored procedure.