Displaying LNKLST information

Use the DISPLAY PROG,LNKLST command to display information about the LNKLST set. The command provides information about LNKLST sets for the LNKLST concatenation and associated jobs.

The complete syntax for the DISPLAY PROG,LNKLST command is:
D PROG,LNKLST
 
D PROG,LNKLST[,NAME=[lnklstname|CURRENT]                 ]
             [,NAMES                                     ]
             [,USERS,[CURRENT|NOTCURRENT|NAME=lnklstname]]
             [,ASID=asid                                 ]
             [,JOBNAME=jobname                           ]
             [,L={a|name|name-a}                         ]
Note: This command requires a /* */ around comments. Refer to System command formats for further information.
PROG,LNKLST
Displays information about the LNKLST concatenation and jobs associated with it. When the LNKLST is authorized by default, the APF authorization status provided is only applicable when the data set is referenced independently of the LNKLST. LINKLIST, LINKLST, LNK, or LNKLIST can be specified as an alternative to LNKLST.
NAME=CURRENT
NAME=lnklstname
Displays the data sets for the specified LNKLST set or concatenation.

If you specify CURRENT, the system displays information for the current LNKLST set that has been activated as the LNKLST concatenation.

For lnklstname, you must specify a valid 1 to 16 character name of a LNKLST set defined to the system.

Default: NAME=CURRENT is the default. If you omit this parameter, the system displays information for the current LNKLST concatenation.

NAMES
Displays the name of each LNKLST set defined to the system.
USERS,CURRENT
Displays a list of address spaces that use the current LNKLST set.

Default: CURRENT is the default. If you omit this parameter, the system displays a list of address spaces for the current LNKLST set.

USERS,NOTCURRENT
Displays a list of address spaces that use any LNKLST set besides the current LNKLST set.
USERS,NAME=lnklstname
Displays a list of address spaces that use the LNKLST set specified by NAME=lnklstname.

For lnklstname, you must specify a valid 1 to 16 character name defined of a LNKLST set defined to the system.

ASID=asid
Displays the LNKLST set in use by the address space for the specified ASID.
JOBNAME=jobname
Displays the LNKLST set in use by the specified job. The system provides information for any job that matches jobname. jobname can include wildcard characters (* or ?).
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 information for the LNKLST concatenation (defined as LNKLST1 in PROGxx and activated at IPL), enter:
D PROG,LNKLST
The output appears in the following format. See also message CSV470I.
CSV470I  01.00.00
LNKLST DISPLAY
    LNKLST SET LNKLST1 LNKAUTH
    =APFTAB
    ENTRY  APF   VOLUME   DSNAME
    1      A     DRV602   SYS1.LINKLIB
    2      A     DRV602   SYS1.MIGLIB
    3      A     DRV602   SYS1.CSSLIB
    4            SMS      MY.LINKLIB

Example 2:

To display the LNKLST set associated with the job that matches the jobname MYJOB, enter:
D PROG,LNKLST,JOBNAME=MYJOB
The output appears in the following format:
CSV473I  02.15.00 LNKLST DISPLAY
    LNKLST SET   ASID     JOBNAME
    MYLNKLST     0018     MYJOB