CL Command Reference - PRTSBSDAUT

CL Command List > PRTSBSDAUT Reference

Description:

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 name of the library that was specified on the command.
. The date and time the report was last run (only shown on the Changed Report).
. An entry for each subsystem description that contains a subsystem entry with a default user specified. Each entry contains the following information:
每 The name of the library the subsystem description is in.
每 The name of the subsystem description.
每 The owner of the subsystem description.
每 The name of the default user profile specified in the subsystem entry.
每 The special authorities associated with the user profile. The special authorities that are shown are all of the special authorities that would be available when the subsystem entry is used. The special authorities shown are the special authorities that the user has, plus the special authorities that the user*s group profiles have (if the user has any groups).

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.


Examples:

PRTSBSDAUT LIB(QSYS)

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