CL Command Reference - PRTQAUT

CL Command List > PRTQAUT Reference

Description:

The Print Queue Authority (PRTQAUT) command allows you to print a report of the output queue and job queue authority information for the objects in the specified library. This command provides a way to check the authority attributes of the output queue and job queue objects on the system.

This command will print two reports for a library. The first report (Full Report) will contain all of the output queues and job queues in the specified library. The second report (Changed Report) will contain the output queues and job queues that have been created or had the authority attributes changed since the PRTQAUT command was last run for the library. If the PRTQAUT 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 queue information is available then the *Changed Report* will be printed but there will be no queues listed.

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 output queue and job queue that exists on the system. Each entry contains the following information:
每 The name of the library the queue is in.
每 The name of the queue.
每 The object type of the queue.
每 The owner of the queue.
每 The public authority of the queue.
每 The display data value of the output queue. For job queue objects this field will be set to *NONE. 每 The operator control value of the queue.
每 The authority to check value of the queue.

The file QSECQOLD in library QUSRSYS contains information from the last time the PRTQAUT 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 QASECQF in library QSYS with format name of QSECQF is the model file for the QSECQOLD file.

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


Examples:

PRTQAUT LIB(QUSRSYS)

This command prints both full and changed reports for the output queues and job queues in the library QUSRSYS.