EXEC

This command, which is only available from within the interactive report, can be used to invoke a Formatting user exit.

Read syntax diagramSkip visual syntax diagram
Syntax

>>-EXEC--+---------------------------+-------------------------><
         '-exit_name--+------------+-'   
                      '-parameters-'     

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:
EXEC MYEXEC A B
and the parameters can be received in the exit using:
PARM1 = ARG(1)
PARM2 = ARG(2)
Note that
PARSE ARG PARM1 PARM2
will not work as expected.

For information on creating your own Formatting user exits, and making these available to your environment, see User-specific report formatting.