MACRO
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
- n
- specifies the return code set by the exit of the called exec
- 0
- Normal 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 editor server. Any command that you can enter from the command line of the editor can be run from a macro.
