| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Communications Server (ENDCMNSVR) command is used to end 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.
Restriction: You must have job control (*JOBCTL) special authority to use this command.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| SERVER | Server type | *PASTHR, *UTILSVR | Optional, Positional 1 |
| OPTION | How to end | *CNTRLD, *IMMED | Optional, Positional 2 |
| DELAY | Controlled end delay time | 1-86400, *NOMAX | Optional |
| Top |
Specifies the type of server to be ended.
| Top |
Specifies whether the target display station pass-through server or the display station pass-through utilities server is ended in an immediate or controlled manner.
| Top |
Specifies the amount of time (in seconds) allowed in which to complete a controlled end of the target display station pass-through server. After this period of time all the target display station pass-through server jobs are ended immediately.
| Top |
Example 1: Ending Target Display Station Pass-through Server
ENDCMNSVR
This command ends the target display station pass-through server in a controlled manner. Any active sessions that are using the target display station pass-through server are not affected. New sessions are not allowed through the target display station pass-through server. Once all of the active sessions have ended, the target display station pass-through server will end.
Example 2: Ending Display Station Pass-through Utilities Server
ENDCMNSVR SERVER(*UTILSVR)
This command ends the display station pass-through utilities server in a controlled manner. Any active sessions that are using the display station pass-through utilities server are not affected. The time required to establish new sessions may increase.
| Top |
*ESCAPE Messages
| Top |