Types of Commands

A REXX program can issue several types of commands. The main categories of commands are:
REXX/CICS commands
These commands provide access to miscellaneous REXX/CICS facilities. See REXX/CICS Commands.
CICS commands
These commands implement the EXEC CICS commands that application programs use to access CICS services. These commands are documented in the CICS Transaction Server for VSE/ESA Application Programming Reference.
SQL statements
These statements are prepared and executed dynamically. See REXX/CICS DB2 Interface
EDIT commands
These commands invoke the editor facilities from the REXX/CICS macros. See REXX/CICS Text Editor.
RFS commands
These commands are for the REXX File System (RFS). See REXX/CICS File System.
RLS commands
These commands are for the REXX List System (RLS). See REXX/CICS List System.

When a program issues a command, the REXX special variable RC is set to the return code. A program can use the return code to determine a course of action within the program. Every time a command is issued, RC is set. Therefore, RC contains the return code from the most recently issued command.


Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


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