Print Subsystem Description (PRTSBSDAUT)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Print Subsystem Description Authority (PRTSBSDAUT) command allows you to print a report of the subsystem descriptions in a library that contain a default user in a subsystem description entry. This command provides a way to check for subsystem descriptions that allow work to be performed on your system while running under a default user profile.

This command will print two reports for a library. The first report (Full Report) will contain all of the subsystem descriptions that contain a default user in a subsystem description entry. The second report (Changed Report) will contain the subsystem descriptions that have been changed to contain a subsystem entry with a default user since the PRTSBSDAUT command was last run for the library. If the PRTSBSDAUT command was not previously run for the library, there will be no 'Changed Report'. If the command has been previously run for the library but no additional subsystem descriptions contain entries with a default user, then the 'Changed Report' will be printed but there will be no subsystem descriptions listed. Changes to user profile special authorities will not cause a 'Changed Report' to be generated.

The reports will contain the following information:

The file QSECSBDOLD in library QUSRSYS contains information from the last time the PRTSBSDAUT command was run for a library. There is a member within the file, with the same name as the library, for each library that has been previously specified on the command. If a special value is specified for the library name (for example, *USRLIBL), then the '*' will be replaced with a 'Q' in the member name. System file QASECSBF in library QSYS with format name of QSECSBF is the model file for the QSECSBDOLD file.

Restriction: You must have all object (*ALLOBJ) or audit (*AUDIT) special authority to run this command.

Top

Parameters

Keyword Description Choices Notes
LIB Library Name, *LIBL, *USRLIBL, *CURLIB, *ALL, *ALLUSR, *ALLAVL, *ALLUSRAVL Required, Positional 1
CHGRPTONLY Changed report only *NO, *YES Optional, Positional 2
Top

Library (LIB)

This is a required parameter.

The name of the library to search for subsystem descriptions contain a subsystem entry with a default user profile specified.

.*

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is searched. If the ASP device (ASPDEV) parameter is specified when this value is used, ASPDEV(*) is the only valid value.
*USRLIBL
If a current library entry exists in the library list for the current thread, the current library and the libraries in the user portion of the library list are searched. If there is no current library entry, only the libraries in the user portion of the library list are searched. If the ASP device (ASPDEV) parameter is specified when this value is used, ASPDEV(*) is the only valid value.
*ALL
All the libraries in the auxiliary storage pools (ASPs) specified for the ASP device (ASPDEV) parameter are searched.
*ALLUSR
All user libraries in the auxiliary storage pools (ASPs) defined by the ASP device (ASPDEV) parameter are searched.

User libraries are all libraries with names that do not begin with the letter Q except for the following:

#CGULIB     #DSULIB     #SEULIB
#COBLIB     #RPGLIB
#DFULIB     #SDALIB

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       QRCLxxxxx   QUSRIJS     QUSRVxRxMx
QGPL        QSRVAGT     QUSRINFSKR
QGPL38      QSYS2       QUSRNOTES
QMGTC       QSYS2xxxxx  QUSROND
QMGTC2      QS36F       QUSRPOSGS
QMPGDATA    QUSER38     QUSRPOSSA
QMQMDATA    QUSRADSM    QUSRPYMSVR
QMQMPROC    QUSRBRM     QUSRRDARS
QPFRDATA    QUSRDIRCL   QUSRSYS
QRCL        QUSRDIRDB   QUSRVI

  1. 'xxxxx' is the number of a primary auxiliary storage pool (ASP).
  2. 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.
*ALLAVL
All libraries in all available ASPs are searched.
*ALLUSRAVL
All user libraries in all available ASPs are searched. Refer to *ALLUSR for a definition of user libraries.
name
Specify the name of the library to be searched.
Top

Changed report only (CHGRPTONLY)

Specifies whether just the changed report should be printed.

*NO
The full and changed reports will be printed.
*YES
Only the changed report will be printed.
Top

Examples

PRTSBSDAUT   LIB(QSYS)

This command prints both full and changed reports for all subsystem descriptions in library QSYS.

Top

Error messages

*ESCAPE Messages

CPFB307
Command &1 in use in another job.
Top