i notice on forums and documentation that order of declarations in DB2 needs to be Vars, Conditions, Cursor, Handler. Added to these i have a global temp table. i have tried out several combinations.
#1. For Vars, Cursor, GlobalTempTable, Handler, i get the error: An unexpected token "<handler...