You can use REXX variables in a procedure with logic. The values for these variables are known only within the procedure in which you defined them. You can:
For more information on REXX variables, see the REXX reference manual for your system. For details on the GET GLOBAL and SET GLOBAL commands, see DB2 QMF Reference.