You can use the Display Library (DSPLIB) or Work with Libraries (WRKLIB) command to display or print all the libraries you have authority to and find basic information on each object within the libraries.
The object information includes:
On the DSPLIB command, you can also specify a specific library name or names, in which case you bypass the library selection display. In this list, the objects are grouped by library; within each library, they are grouped by object type; within each type, they are listed in alphanumeric order. The order of the libraries is one of the following:
For example, the following DSPLIB command displays a list of the objects contained in DISTLIB:
DSPLIB LIB(DISTLIB) OUTPUT(*)
The asterisk (*) for the OUTPUT parameter means that the libraries are to be shown at the display station if in interactive processing and printed if in batch processing. To print a list when in interactive processing, specify *PRINT instead of taking the default *.
See the CL section of the Programming category in the iSeries Information Center for more information and sample displays for the DSPLIB command.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.