Displaying dynamic exits
Use the DISPLAY PROG,EXIT command to display exits that have been defined to the dynamic exits facility or have had exit routines associated with them.
The complete syntax for the DISPLAY PROG,EXIT command is:
D PROG,EXIT |
---|
|
Note: This command requires a /* */ around comments. Refer to System command formats for further information.
- PROG,EXIT
- Displays the names of exits that have been defined to the dynamic exits facility, had exit routines associated with them, or had their attributes changed.
- ALL
- Displays the names of all the exits that have been defined to the dynamic exits facility, have had exit routines associated with them, or have had their attributes changed.
- EXITNAME= or EX= or EN=exitname
- Displays the names of all exit routines associated with the named
exit, along with status information about the exit. The exit routines
are displayed in the order in which they are invoked by dynamic exits
services.
If no exit routines are associated with a particular exit, the system issues message CSV463I.
- EXITNAME= or EX= or EN=exitname*
- Displays the names of exits that both:
- Have a name that matches exitname. The trailing asterisk ‘*’ is a wildcard that is used to match patterns.
- Are defined or have had an exit routine associated with them.
- DIAG
- An optional keyword that specifies diagnostic information for the exit specified by EXITNAME=exitname. The CSV464I. The message displays information about the state of the exit, the entry point address of the exit routine, the load point address of the exit routine module, the length of the exit routine module, and jobname. For the sample output, see the following examples.
- MODNAME= or MOD=name
- Displays the names of the exits with which the specified exit routine is associated. You can use this information before replacing an exit routine to ensure that the exit routine is not defined to any exits.
- IMPLICIT or IMP
- Displays the names of exits that have been implicitly defined.
An exit is implicitly defined when:
- You add exit routines to an exit before the exit is defined
- You set attributes using the ATTRIB parameter of the SETPROG EXIT command before defining the exit.
You can use this parameter to determine whether exit routines were improperly added to an exit that might never be defined. Issue SETPROG EXIT,UNDEFINE,EXITNAME=exitname to have the system remove the improper definition of that exit.
Both IMPLICIT and ALL,IMPLICIT display the names of all the exits that have been implicitly defined.
- INSTALLATION
- INSTALLATION, or INSTALL, is used to filter the output to list only exits that were defined by CSVDYNEX with EXITTYPE=INSTALLATION.
- PROGRAM
- Filters the output to list only exits that were defined by CSVDYNEX with EXITTYPE=PROGRAM.
- NOTPROGRAM
- NOTPROGRAM, or NOTPROG, is used to filter the output to avoid listing exits that were defined by CSVDYNEX with EXITTYPE=PROGRAM. NOTPROGRAM displays exits that are defined by CSVDYNEX without EXITTYPE or with EXITTYPE=INSTALLATION.
- L=a, name, or name-a
- Specifies the display area (a), console name (name), or both (name-a) where the display is to appear.
Example 1:
To display exits that have an exit name starting with “IEF”, and
either are defined or have had an exit routine associated with them,
enter:
D PROG,EXIT,EXITNAME=IEF*
The output appears in the following format:
CSV460I 17.01.16 PROG,EXIT DISPLAY 710
EXIT DEF EXIT DEF EXIT DEF
IEF_ALLC_OFFLN E IEF_SPEC_WAIT E IEF_VOLUME_ENQ E
IEF_VOLUME_MNT E IEFDB401 E
Example 2:
To display all exit routines associated with exit SYS.IEFU84 along
with status information about the SYS.IEFU84, enter:
D PROG,EXIT,EXITNAME=SYS.IEFU84
The output appears in the following format:
CSV461I 17.04.20 PROG,EXIT DISPLAY 725
EXIT MODULE STATE MODULE STATE MODULE STATE
SYS.IEFU84 IEFU84 A MYIEFU84 I
Example 3:
To display exit names that are associated with exit routine IEFU84,
enter:
D PROG,EXIT,MODNAME=IEFU84
The output appears in the following format:
CSV462I 17.05.33 PROG,EXIT DISPLAY 731
MODULE IEFU84
EXIT(S) SYS.IEFU84 SYSSTC.IEFU84
Example 4:
To display information about the exit entry point address, the
load point address of the exit routine module, and other diagnostic
information for exit routine SYS.IEFU84, enter:
D PROG,EXIT,EXITNAME=SYS.IEFU84,DIAG
The output appears in the following format:
CSV464I 11.45.00 PROG,EXIT DISPLAY
EXIT SYS.IEFU84
MODULE STATE EPADDR LOADPT LENGTH JOBNAME
IEFU84 A 12345678 00000000 00000000 *