Change LPD Attributes (CHGLPDA)

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.

Restrictions:

Parameters

Keyword Description Choices Notes
AUTOSTART Autostart servers *YES, *NO, *SAME Optional, Positional 1
NBRSVR Number of initial servers 1-200, *SAME, *DFT Optional

Autostart servers (AUTOSTART)

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.

*SAME
The autostart value that was previously set does not change.
*YES
Start the number of servers defined in the NBRSVR parameter.
*NO
Do not start the number of servers defined in the NBRSVR parameter when the STRTCP command is called.

Number of initial servers (NBRSVR)

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.

The STRTCP command starts all the servers specified in the CHGLPDA command. The STRTCPSVR command starts only one LPD server, regardless of the number of the servers currently running.

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.

*SAME
The number of servers that was previously set does not change.
*DFT
The number of servers is set to the default value of 2.
number-of-servers
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.

Examples

None

Error messages

*ESCAPE Messages

TCP8050
*IOSYSCFG authority required to use &1.
TCP9999
Internal system error in program &1.