Procedures with logic are not available in CICS, as their function depends on REXX.
Procedures with logic let you use the REXX language to perform conditional logic and calculations, build strings, and pass commands back to the host environment.
Procedures with logic have their own REXX variable pool. You can use procedures with logic to get and set QMF global variables. QMF commands in procedures with logic can contain substitution variables.
QMF commands in procedures with logic must be in uppercase regardless of your profile setting.
It can refer either to a private procedure variable that exists for the duration of the procedure or to a global variable.
Use the GET GLOBAL command to copy a global variable into a variable, or use the SET GLOBAL command to set new global variables.
You can move to the ERROR label whenever a nonzero return code occurs by using the SIGNAL ON ERROR statement.