Using the EXEC command (see EXEC),
a REXX Formatting user exit can be executed. This type of exit is
able to generate a display of user-specific information, such as formatting
of data areas which are unique to the analyzed application environment.
For general information about this type of exit, see Formatting user exit.
Non-REXX Formatting user exits cannot be executed through the EXEC
command.
If an exit name is specified with the EXEC command, then that exit is executed and a display
containing any information that the exit has provided is presented. However, if no exit name is
specified, then a list of all REXX Formatting user exits which are available from the IDIEXEC concatenation of data sets is presented in a
Formatting User Exit Selection List display like the following example:
To be recognized as a Formatting user exit for the Formatting User Exit Selection List display,
the exit names must be specified in a control member within each IDIEXEC data set. The name of the control member
must be $$UFMTX. Each record in the control member can contain the member name of the exit
(not case-sensitive) and optionally a comment which is included in the Formatting User Exit
Selection List display. A sample control member follows:
The above sample control member is provided in softcopy format as member IDISUFMX in data set IDI.SIDISAM1.
To use this sample control member, you should:
Copy it to another data set and rename it to $$UFMTX.
Copy the three sample Formatting user exits named within it to
the same data set.
Specify the data set name now containing the control member and the exits in the DATASETS(IDIEXEC(data-set-name))
option.
Invoke the Fault Analyzer ISPF interface and perform
interactive reanalysis against a fault entry.
Issue the EXEC command without specifying an exit name. This action
should present a display similar to that in Sample Formatting User Exit Selection List display from
where the sample exits can be run.
From the Formatting User Exit Selection List display, a line command
can be issued against individual exits:
S
Executes the exit.
B
Enters ISPF browse against the exit.
E
Enters ISPF edit against the exit.
Often, exits require one or more parameters to be passed. Passing
these parameters can be done by clearing (if necessary) and overtyping
the "Comments/Arguments" field of the Formatting User Exit Selection
List display to the right of the exit name. The field changes color
when it has been overtyped to indicate that the data is used as parameters
for the exit. By clearing the field, and pressing Enter, the original
comment can be redisplayed instead.