134 lines
5.0 KiB
HTML
134 lines
5.0 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>Change LPD Attributes (CHGLPDA)</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="CHGLPDA.Top_Of_Page"></a>
|
|
<h2>Change LPD Attributes (CHGLPDA)</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="#CHGLPDA.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGLPDA.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGLPDA.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGLPDA"></a>
|
|
<p>The Change LPD Attributes (CHGLPDA) command provides an interface to configure line printer daemon (LPD) parameters. The changes made by this command take effect the next time the LPD servers are started.
|
|
</p>
|
|
<p><b>Restrictions:</b>
|
|
</p>
|
|
<ul>
|
|
<li>You must have input/output system configuration (*IOSYSCFG) special authority to use this command.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLPDA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGLPDA.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="#CHGLPDA.AUTOSTART"><b>AUTOSTART</b></a></td>
|
|
<td valign="top">Autostart servers</td>
|
|
<td valign="top">*YES, *NO, <b><u>*SAME</u></b></td>
|
|
<td valign="top">Optional, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGLPDA.NBRSVR"><b>NBRSVR</b></a></td>
|
|
<td valign="top">Number of initial servers</td>
|
|
<td valign="top">1-20, <b><u>*SAME</u></b>, *DFT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLPDA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGLPDA.AUTOSTART"></a>
|
|
<h3>Autostart servers (AUTOSTART)</h3>
|
|
<p>Specifies whether to start automatically the LPD servers when TCP/IP is started by running the Start TCP/IP (STRTCP) command, or the Start TCP/IP Server (STRTCPSVR) command with SERVER(*AUTOSTART) specified. When LPD is started by running the STRTCPSVR command, and SERVER(*AUTOSTART) is not specified, this parameter is ignored and the number of initial servers defined is started regardless of the value of this parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The autostart value that was previously set does not change.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>Start the number of servers defined in the NBRSVR parameter.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>Do not start the number of servers defined in the NBRSVR parameter when the STRTCP command is called.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLPDA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGLPDA.NBRSVR"></a>
|
|
<h3>Number of initial servers (NBRSVR)</h3>
|
|
<p>Specifies the number of LPD servers to start initially when LPD is started by either the STRTCP command or the STRTCPSVR command. The initial number of servers is 2.
|
|
</p>
|
|
<p>The STRTCP command starts <i>all</i> the servers specified in the CHGLPDA command. The STRTCPSVR command starts only <i>one</i> LPD server, regardless of the number of the servers currently running.
|
|
</p>
|
|
<p>LPD works most efficiently when two or more servers are running. Running only one server works, but no jobs can be received while a current job is running. If a large print job is running, new jobs have to wait before LPD is ready to accept any new LPR requests.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The number of servers that was previously set does not change.
|
|
</dd>
|
|
<dt><b>*DFT</b></dt>
|
|
<dd>The number of servers is set to the default value of 2.
|
|
</dd>
|
|
<dt><b><i>number-of-servers</i></b></dt>
|
|
<dd>The number of servers requested in this parameter is started the next time the LPD server is started. Valid values range from 1 through 20 servers.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLPDA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div>
|
|
<h3><a name="CHGLPDA.COMMAND.EXAMPLES">Examples</a></h3>None
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLPDA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGLPDA.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>TCP8050</b></dt>
|
|
<dd>*IOSYSCFG authority required to use &1.
|
|
</dd>
|
|
<dt><b>TCP9999</b></dt>
|
|
<dd>Internal system error in program &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLPDA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|