Pathway/iTS Management Programming Manual

ZPWY-MAP- Definitions
NonStop Pathway/iTS Management Programming Manual426749-002
6-70
ZPWY-MAP-STATUS-TCP
ZPWY-MAP-STATUS-TCP
This token reports status information on a TCP.
ZSTATUSTIME
gives the time this status was collected, as a four-word GMT timestamp.
ZSTATE
can have the following values:
ZERRORINFO
returns error information. The fields are described under ZPWY-DDL-ERROR-
INFO on page 5-12.
ZPROCESS
returns the process ID of the TCP.
ZERRORINFO2
returns process-creation error information. The fields are described under ZPWY-
DDL-ERRINFO2 on page 5-11.
ZPRIMARY
returns the processor and PIN of the primary TCP:
def ZPWY-DDL-STATUS-TCP.
02 ZSTATUSTIME token-type ZSPI-DDL-TIMESTAMP.
02 ZSTATE token-type ZPWY-DDL-OBJSTATE-VALUE.
02 ZERRORINFO.
03 ZERROR token-type ZSPI-DDL-INT.
03 ZINFO token-type ZSPI-DDL-INT.
02 ZPROCESS token-type ZSPI-DDL-CRTPID.
02 ZERRORINFO2 token-type ZPWY-DDL-ERRINFO2.
03 ZERROR2 token-type ZSPI-DDL-INT.
03 ZINFO2 token-type ZSPI-DDL-INT.
03 ZDETAIL2 token-type ZSPI-DDL-INT.
02 ZPPRIMARY.
03 ZCPU token-type ZSPI-DDL-INT.
03 ZPIN token-type ZSPI-DDL-INT.
02 ZBACKUP.
03 ZCPU token-type ZSPI-DDL-INT.
03 ZPIN token-type ZSPI-DDL-INT.
end.
ZPWY-VAL-STOPPED The TCP is stopped.
ZPWY-VAL-PENDING The TCP is stopping.
ZPWY-VAL-RUNNING The TCP is running and can control TERM objects.