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.
- If the first two operands of DEFSCMD are all asterisks (* *) then
this is a catch-all definition that specifies a command processing
agent issued for REXX commands that are not under the scope (do not
match) of any more specific command definitions.
- User command definitions are searched before system command definitions
(except for DEFSCMD, 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 DEFSCMD 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.