ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/prtqaut.htm

210 lines
8.1 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Print Queue Authority (PRTQAUT)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="PRTQAUT.Top_Of_Page"></a>
<h2>Print Queue Authority (PRTQAUT)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#PRTQAUT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#PRTQAUT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#PRTQAUT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="PRTQAUT"></a>
<p>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.
</p>
<p>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.
</p>
<p>The reports will contain the following information:
</p>
<ul>
<li>The name of the library that was specified on the command.
</li>
<li>The date and time the report was last run (only shown on the Changed Report).
</li>
<li>An entry for each output queue and job queue that exists on the system. Each entry contains the following information:
<ul>
<li>The name of the library the queue is in.
</li>
<li>The name of the queue.
</li>
<li>The object type of the queue.
</li>
<li>The owner of the queue.
</li>
<li>The public authority of the queue.
</li>
<li>The display data value of the output queue. For job queue objects this field will be set to *NONE.
</li>
<li>The operator control value of the queue.
</li>
<li>The authority to check value of the queue.
</li>
</ul>
</li>
</ul>
<p>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.
</p>
<p><b>Restriction:</b> You must have all object (*ALLOBJ) or audit (*AUDIT) special authority to run this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTQAUT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="PRTQAUT.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#PRTQAUT.LIB"><b>LIB</b></a></td>
<td valign="top">Library</td>
<td valign="top"><i>Name</i>, *LIBL, *USRLIBL, *CURLIB, <b><u>*ALL</u></b>, *ALLUSR</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#PRTQAUT.CHGRPTONLY"><b>CHGRPTONLY</b></a></td>
<td valign="top">Changed report only</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#PRTQAUT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="PRTQAUT.LIB"></a>
<h3>Library (LIB)</h3>
<p>This is a required parameter.
</p>
<p>The name of the library to search for output queue and job queue objects to report.
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>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 <b>ASP device (ASPDEV)</b> parameter is specified when this value is used, ASPDEV(*) is the only valid value.
</dd>
</dl>
<dl>
<dt><b>*USRLIBL</b></dt>
<dd>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 <b>ASP device (ASPDEV)</b> parameter is specified when this value is used, ASPDEV(*) is the only valid value.
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>All the libraries in the auxiliary storage pools (ASPs) specified for the <b>ASP device (ASPDEV)</b> parameter are searched.
</dd>
</dl>
<dl>
<dt><b>*ALLUSR</b></dt>
<dd>All user libraries in the auxiliary storage pools (ASPs) defined by the <b>ASP device (ASPDEV)</b> parameter are searched.
<p>User libraries are all libraries with names that do not begin with the letter Q except for the following:
</p>
<p>
<pre>
#CGULIB #DSULIB #SEULIB
#COBLIB #RPGLIB
#DFULIB #SDALIB
</pre>
</p>
<p>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:
</p>
<p>
<pre>
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
</pre>
</p>
<ol>
<li>'xxxxx' is the number of a primary auxiliary storage pool (ASP).
</li>
<li>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.
</li>
</ol>
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTQAUT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTQAUT.CHGRPTONLY"></a>
<h3>Changed report only (CHGRPTONLY)</h3>
<p>Specifies whether just the changed report should be printed.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The full and changed reports will be printed.
</dd>
<dt><b>*YES</b></dt>
<dd>Only the changed report will be printed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTQAUT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTQAUT.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
PRTQAUT LIB(QUSRSYS)
</pre>
</p>
<p>This command prints both full and changed reports for the output queues and job queues in the library QUSRSYS.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTQAUT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTQAUT.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFB307</b></dt>
<dd>Command &amp;1 in use in another job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTQAUT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>