TS/MP 2.5 Management Programming Manual

Considerations
Statistics for server classes are stored by the link managers. If the server class stops for any
reason, its statistics are lost . As a result, when a server in that class is restarted, the link
manager has no statistics for the server class.
Use this command in combination with the Pathway/iTS STATS SCTCP command to
perform the equivalent of the PATHCOM STATS SERVER command.
STATUS SC
Use the STATUS SC command to obtain the current status of a server class. Status information on
an individual server process can be obtained with the STATUS SCPROCESS command (the
equivalent of the PATHCOM STATUS SERVER, DETAIL command).
The STATUS SC command returns status information for server classes linked to link managers,
such as ACS subsystem processes and Pathway/iTS TCPs.
Continuation
To obtain status information for all server classes, initialize the ZSERVERCLASS field in
ZPWY-MAP-SEL-SC to ZPWY-VAL-ALLSC. Reissue the command continually by using the context
token returned by the PATHMON process until no data is returned in the reply buffer. For more
information, see “Specifying Continuation” (page 40).
Command Syntax
For tokens that may be present in the command and response buffers but are not listed, see “Unlisted
Tokens” (page 49). For descriptions of tokens and fields, see “SPI and EMS Standard Definitions”
(page 50) through “ZPWY-MAP- Definitions” (page 75).
Command
nl
ZPWY-CMD-STATUS
Object Type
nl
ZPWY-OBJ-SC
Tokens in Command Buffer
nl
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-SC token-type ZPWY-DDL-SEL-SC.
!r
ZPWY-MAP-PAR-STATUS-SC token-type ZPWY-DDL-PAR-STATUS-SC.
Tokens in Response Buffer
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZPWY-MAP-SEL-SC token-type ZPWY-DDL-SEL-SC.
ZPWY-MAP-STATUS-SC token-type ZPWY-DDL-STATUS-SC.
Considerations
To perform the equivalent of the PATHCOM STATUS SERVER command, use the STATUS
SC command.
To perform the equivalent of the PATHCOM STATUS SERVER, DETAIL command, use the
STATUS SC and the STATUS SCPROCESS commands.
To perform the equivalent of the PATHCOM STATUS SERVER, PROCESSES command, use
the STATUS SC command (using the optional parameter, ZPWY-PAR- STATUS-SC) and the
STATUS TCPLINK command.
STATUS SC 159