$ERR_SQLSTACK
336
SQL: Stack variable still bound/defined on routine exit
You used %SSC_BIND, %SSC_DEFINE, or %SSC_OPEN using a variable defined in a stack record, and the cursor was not closed before the routine exited. The checking for this condition only occurs when the routine has been compiled with -qcheck.