153 lines
5.1 KiB
HTML
153 lines
5.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>End Writer (ENDWTR)</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="ENDWTR.Top_Of_Page"></a>
|
||
|
<h2>End Writer (ENDWTR)</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="#ENDWTR.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ENDWTR.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ENDWTR.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ENDWTR"></a>
|
||
|
<p>The End Writer (ENDWTR) command ends the specified spooling writer and makes its associated output device available to the system. The writer can be ended immediately or in a controlled manner. If ended immediately, the writer stops writing the file and the file is made available again on the output queue. If ended in a controlled manner, the writer finishes writing the current file (or a copy of a file), or it finishes printing a page of the file, before it is ended.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDWTR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ENDWTR.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="#ENDWTR.WTR"><b>WTR</b></a></td>
|
||
|
<td valign="top">Writer</td>
|
||
|
<td valign="top"><i>Name</i>, *SYSVAL, *ALL</td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ENDWTR.OPTION"><b>OPTION</b></a></td>
|
||
|
<td valign="top">When to end writer</td>
|
||
|
<td valign="top"><b><u>*CNTRLD</u></b>, *IMMED, *PAGEEND</td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDWTR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ENDWTR.WTR"></a>
|
||
|
<h3>Writer (WTR)</h3>
|
||
|
<p>Specifies the spooling writer being stopped. The writer's output device will then be available to the system.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>Specifies that all writers that are started are to stop.
|
||
|
</dd>
|
||
|
<dt><b>*SYSVAL</b></dt>
|
||
|
<dd>Specifies that the writer started to the system default printer is to stop.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the writer to end.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDWTR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ENDWTR.OPTION"></a>
|
||
|
<h3>When to end writer (OPTION)</h3>
|
||
|
<p>Specifies when the writer should stop processing.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CNTRLD</u></b></dt>
|
||
|
<dd>The spooling writer stops processing in a controlled manner. Output stops at the end of the spooled file (or copy of a file) currently being written to an output device.
|
||
|
</dd>
|
||
|
<dt><b>*IMMED</b></dt>
|
||
|
<dd>The writer stops processing immediately. The spooled file that is currently printing remains on the output queue.
|
||
|
</dd>
|
||
|
<dt><b>*PAGEEND</b></dt>
|
||
|
<dd>The writer is stopped after processing of the current buffer. This value is valid only if the spooling writer is a printer writer.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDWTR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDWTR.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ENDWTR WTR(PRINTER)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command stops the writer named PRINTER at the end of the spooled file whose output is being printed, and then releases the device to the system.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDWTR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ENDWTR.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1317</b></dt>
|
||
|
<dd>No response from subsystem for job &3/&2/&1.
|
||
|
</dd>
|
||
|
<dt><b>CPF1340</b></dt>
|
||
|
<dd>Job control function not performed.
|
||
|
</dd>
|
||
|
<dt><b>CPF1352</b></dt>
|
||
|
<dd>Function not done. &3/&2/&1 in transition condition.
|
||
|
</dd>
|
||
|
<dt><b>CPF1842</b></dt>
|
||
|
<dd>Cannot access system value &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF3313</b></dt>
|
||
|
<dd>Writer &1 not active nor on job queue.
|
||
|
</dd>
|
||
|
<dt><b>CPF3330</b></dt>
|
||
|
<dd>Necessary resource not available.
|
||
|
</dd>
|
||
|
<dt><b>CPF3331</b></dt>
|
||
|
<dd>Not authorized to control writer &3/&2/&1.
|
||
|
</dd>
|
||
|
<dt><b>CPF3339</b></dt>
|
||
|
<dd>Previous end request to writer &3/&2/&1 pending.
|
||
|
</dd>
|
||
|
<dt><b>CPF3438</b></dt>
|
||
|
<dd>*PAGEEND not valid for writer &3/&2/&1.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ENDWTR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|