This chapter provides you with detailed reference information for all REXX/CICS commands. Return code information for all commands is returned after command execution in the special REXX variable RC.
You can use all the commands in this chapter with the command environment name REXXCICS. This is also the default. However, depending on how you define the command, you can use a more specific environment name (such as CICS) instead. If you need to reset the command environment, because another command environment is in use, enter: ADDRESS REXXCICS before you issue commands from this chapter.
REXX/CICS supports all EXEC CICS commands, excluding System Programming (SPI) commands, except: Handle Condition, Handle Aid, Handle Abend, Ignore Condition, Push, and Pop. The syntax for CICS commands under REXX/CICS is documented in the CICS Transaction Server for VSE/ESA Application Programming Reference. Mapping between the existing EXEC CICS command definitions to the REXX commands follows:
Non-REXX: EXEC CICS XCTL PROGRAM('PGMA') COMMAREA(COMA) LENGTH(COMAL)
REXX/CICS: "CICS XCTL PROGRAM('PGMA') COMMAREA(COMA)"