>>-DEFSCMD--+-etarget--ecmdnm-+--+-itarget--icmdnm-+------------> +-etarget--*------+ +-itarget--*------+ '-*--*------------' '-=--=------------' >--+-pgmname------+--(--+-CICSLINK-+--+------+----------------->< +-CICS_loadmod-+ +-CICSLOAD-+ '-AUTH-' +-execname-----+ '-REXX-----' '-(--CLEAR-----'
DEFSCMD defines (or redefines) REXX system commands.
'DEFSCMD CICS SEND = = SENDPGM (CICSLINK'
This example defines a command called SEND for this user only. The user can issue this command, under the default command environment of REXXCICS, by entering:
'CICS SEND arg1 arg2 ... argn'
This example shows program SENDPGM being called by an EXEC CICS LINK command to process this command.