REXX/CICS Commands

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:
Example of EXEC CICS to REXX/CICS command mapping:
Non-REXX:  EXEC CICS XCTL PROGRAM('PGMA') COMMAREA(COMA) LENGTH(COMAL)
REXX/CICS: "CICS XCTL PROGRAM('PGMA') COMMAREA(COMA)"
Note: The EXEC CICS READ, WRITE, and DELETE commands are implemented by default as REXX/CICS authorized commands, to control their use. Refer to Authorized REXX/CICS Commands/Authorized Command Options and to Security.

Concept Concept

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/commref.html