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

133 lines
4.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Clear Output Queue (CLROUTQ)</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="CLROUTQ.Top_Of_Page"></a>
<h2>Clear Output Queue (CLROUTQ)</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="#CLROUTQ.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CLROUTQ.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CLROUTQ.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CLROUTQ"></a>
<p>The Clear Output Queue (CLROUTQ) command removes spooled files from the specified queue. The Clear Output Queue (CLROUTQ) command removes all spooled files on the specified output queue if they are waiting to be written on an output device, including files that are in the hold state. Spooled files that are currently being produced by programs or that are being written to an output device are not removed from the queue.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CLROUTQ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CLROUTQ.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" rowspan="3"><a href="#CLROUTQ.OUTQ"><b>OUTQ</b></a></td>
<td valign="top">Output queue</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Output queue</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr></table>
<table width="100%">
<tr><td align="right"><a href="#CLROUTQ.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CLROUTQ.OUTQ"></a>
<h3>Output queue (OUTQ)</h3>
<p>Specifies the output queue to be cleared of spooled files.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: Output queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the output queue to be cleared.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</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 job is used to locate the output queue. If no current library entry exists in the library list, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library in which the output queue is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CLROUTQ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CLROUTQ.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CLROUTQ OUTQ(QPRINT)
</pre>
</p>
<p>This command removes the entries for all spooled files from the output queue, QPRINT, that are waiting to be printed or are being held. The entries for the file currently being printed and files still receiving data from programs that are currently running are not affected.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CLROUTQ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CLROUTQ.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2207</b></dt>
<dd>Not authorized to use object &amp;1 in library &amp;3 type *&amp;2.
</dd>
<dt><b>CPF3330</b></dt>
<dd>Necessary resource not available.
</dd>
<dt><b>CPF3357</b></dt>
<dd>Output queue &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF3417</b></dt>
<dd>&amp;1 entries deleted. &amp;2 entries not deleted.
</dd>
<dt><b>CPF9843</b></dt>
<dd>Object &amp;1 in library &amp;3 type &amp;2 cannot be accessed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CLROUTQ.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>