Generic library names

These special values refer to IBM® i libraries. You can often use them in API calls in place of specific library names.

*ALL
All libraries, including the QSYS library.
*ALLUSR
All user-defined libraries with names that do not begin with the letter Q. Although the following libraries with names that begin with the letter Q are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are also considered user libraries.

QDSNX
QGPL
QGPL38
QMGTC
QMGTC2
QMPGDATA
QMQMDATA
QMQMPROC
QPFRDATA
QRCL
QRCLxxxxx

QSRVAGT
QSYS2
QSYS2xxxxx
QS36F
QUSER38
QUSRADSM
QUSRBRM
QUSRDIRCF
QUSRDIRCL
QUSRDIRDB
QUSRIJS
QUSRINFSKR

QUSRNOTES
QUSROND
QUSRPOSGS
QUSRPOSSA
QUSRPYMSVR
QUSRRDARS
QUSRSYS
QUSRVI
QUSRVxRxMx

*ALLUSR excludes System/36 libraries that have names starting with the symbol # and that do not contain user data. The following table lists those libraries.

#CGULIB
#COBLIB
#DFULIB
#DSULIB

#RPGLIB
#SDALIB
#SEULIB

 

xxxxx is the number of a primary auxiliary storage pool (ASP).

A different library name, in the format QUSRVxRxMx, can be created by the user for each previous release supported by IBM to contain any user commands to be compiled in a CL program for the previous release. For the QUSRVxRxMx user library, VxRxMx is the version, release, and modification level of a previous release that IBM continues to support.

For more information about QUSRVxRxMx libraries or the *ALLUSR special value, see Special values for the SAVLIB command.

*CURLIB
The job's current library. If no current library is specified for the job, the QGPL library is used.
*LIBL
The user and system portions of the job's library list.
*USRLIBL
The user portion of the job's library list.