It is unsupported to use a constant to call an ASE stored procedure that contains output parameter(s). 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.