Terminal Control Process (TCP) Commands
NonStop Pathway/iTS Management Programming Manual—426749-002
7-27
STOP TCP
STOP TCP
Use the STOP TCP command to stop a TCP. This command does not stop an external
TCP (a TCP that is controlled by another PATHMON process and is therefore outside
this PATHMON environment) that is linked to a local server process.
Continuation
To stop all TCPs, initialize the ZTCP field in ZPWY-DDL-SEL-TCP to
ZPWY-VAL-ALLTCP. Reissue the command repeatedly, using the context token
returned by the PATHMON process, until no data is returned in the reply buffer.
When you specify continuation, responses are returned only for TCPs that are running.
For more information, see Specifying Continuation on page 3-21.
Command Syntax
For tokens that may be present in the command and response buffers but are not
listed, see Unlisted Tokens on page 3-36. For descriptions of tokens and fields, see
Section 4 through Section 6.
Command
ZPWY-CMD-STOP
Object Type
ZPWY-OBJ-TCP
Tokens in Command Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-TCP token-type ZPWY-DDL-SEL-TCP. !r
ZPWY-MAP-QUAL-TCP token-type ZPWY-DDL-QUAL-TCP.
Tokens in Response Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-TCP token-type ZPWY-DDL-SEL-TCP.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-INT.