Start Communications Server (STRCMNSVR)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Start Communications Server (STRCMNSVR) command is used to start the target display station pass-through server or the display station pass-through utilities server. The target display station pass-through server processes display station pass-through, System i5 Access work station function (WSF), and other 5250 emulation programs on programmable workstations. The display station pass-through utilities server can reduce the time required to establish a session.

Restrictions You must have job control (*JOBCTL) special authority to use this command.

Top

Parameters

Keyword Description Choices Notes
SERVER Server type *PASTHR, *UTILSVR Optional, Positional 1
NBRPASTHR Number of servers 1-100, *SYSVAL Optional, Positional 2
Top

Server type (SERVER)

Specifies the type of server to be started.

*PASTHR
The target display station pass-through server is started in the QSYSWRK subsystem.
*UTILSVR
The display station pass-through utilities server is started in the QSYSWRK subsystem.
Top

Number of servers (NBRPASTHR)

Specifies the number of target display station pass-through server jobs to be started. This parameter is only valid when *PASTHR is specified for the type of server (SERVER) parameter.

*SYSVAL
Specifies that the system value (QPASTHRSVR) is to be used to determine the number of servers.
1-100
Specify the number of servers. This will override the current system value (QPASTHRSVR).
Top

Examples

Example 1: Starting Target Display Station Pass-through Server

STRCMNSVR

This command starts the target display station pass-through server. System value QPASTHRSVR is used to determine how many server jobs are started.

Example 2: Starting Display Station Pass-through Utilities Server

STRCMNSVR SERVER(*UTILSVR)

This command starts the display station pass-through utilities server. The time required to establish new sessions can be reduced.

Top

Error messages

*ESCAPE Messages

CPF8946
Unexpected error ending target display station pass-through servers.
Top