Note
See Chapter 19, “REXX/CICS File System,” on page 257 for more information about the REXX File
System.
MACRO
When you type MACRO from the command line use the following syntax:
 MACRO fileid 
MACRO calls a macro.
Operands
fileid
specifies the file ID of the macro you want to run. If this file ID includes a file type suffix, then an
attempt is made to call an exec with that suffix. Otherwise, an attempt is made to call an exec whose
suffix is EXEC.
Return Codes
nspecifies the return code set by the exit of the called exec
0Normal return
-3 Exec not found
-10 Exec name not specified
-11 Invalid exec name
-12 GETMAIN error
-99 Internal error
Example
'MACRO POOL1:\USERS\USER1\TEST'
This example calls the macro, POOL1:\USERS\USER1\TEST.EXEC.
Note
Macros have the ability to make calls to the REXX/CICS FLST server. Any command that can be entered
from the command line of the FLST can be run from a macro.
PFKEY
When you type PFKEY from the command line use the following syntax:
 PFkey number
text

PFKEY sets or processes a program function (PF) key.
Operands
number
specifies the PF key that is set or processed.
text
specifies the text that the PF key is set to.
Example
'PFKEY 3 quit'
'PFKEY 3'
This example first sets PFKEY 3 to quit and then processes the PF key.
File System
Chapter 19. REXX/CICS File System 269