
>>-EXEC--execid--args------------------------------------------><
EXEC calls a REXX exec at a lower level (as a nested exec). All
variables for this new exec are kept separate from the higher level
exec, which is suspended until the nested exec ends.
- execid
- specifies the 1 to 17 character identifier of the exec.
- args
- specifies the argument string being passed to the called exec.
- 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
'EXEC ABC'
This example executes exec ABC.EXEC.