Notes
- When the REXX/CICS environment name is REXXCICS (which is the
default when all execs or macros are called), then the first token
of the command string is the environment name that could have been
used with an ADDRESS environment REXX instruction. This provides a
more integrated command environment and removes the need for constant
environment switching by ADDRESS instructions.
- The calling and parameter passing sequences for command programs
receiving control by an EXEC CICS LINK and an Assembler BASSM instruction
(the CICSLOAD option) are similar. Refer to REXX/CICS Command Definition for
more information on writing command programs.
- You can use DEFCMD to dynamically tailor a user's command set
on a user by user, or application by application basis. DEFCMD commands
can be placed in the user's PROFILE EXEC or in application execs.
DEFCMD can also be used to override system command definitions.
- DEFCMD REXXCICS * is not allowed.
- User command definitions are searched before system command definitions
(except for DEFCMD, which cannot be overridden).
- REXX commands can be written in REXX. These REXX commands in turn
call other REXX commands which are written in REXX, in a building
block fashion. Since DEFCMD hides the implementation detail from the
REXX user (programmer), a command can be quickly written in REXX and
later transparently rewritten in another language, if it becomes performance
critical.