Terminal Control Process (TCP) Commands
NonStop Pathway/iTS Management Programming Manual—426749-002
7-23
STATUS TCP
STATUS TCP
Use the STATUS TCP command to obtain the status of TCPs, including external TCPs
(TCPs that are controlled by another PATHMON process and are therefore outside this
PATHMON environment) that have links to local server processes.
Continuation
To obtain the status of more than one TCP, 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. For more information, see Specifying Continuation on page 3-21.
Command Syntax
For tokens that might 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.
Considerations
•
To perform the equivalent of the PATHCOM STATUS TCP, DETAIL command,
see Programming Considerations for Specific Object Types on page 3-32.
Command
ZPWY-CMD-STATUS
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.
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.
ZPWY-MAP-STATUS-TCP token-type ZPWY-DDL-STATUS-TCP.