EXEC
This command, which is only available from within the interactive report, can be used to invoke a Formatting user exit.
where:
- exec_name
- The name of the Formatting user exit to be executed.
If no exit name is specified, then a display is presented from which an exit can be selected.
- parameters
- Are optional parameters to be passed to the Formatting user exit.
If multiple blank-delimited parameters are specified, then these are passed to the user exit separately.
For example, if a user exit MYEXEC accepts two parameters, "A" and "B", then the exit is invoked from the ISPF command line as:
and the parameters can be received in the exit using:EXEC MYEXEC A B
PARM1 = ARG(1) PARM2 = ARG(2)
Note that
will not work as expected.PARSE ARG PARM1 PARM2
For information on creating your own Formatting user exits, and making these available to your environment, see User-specific report formatting.