TS/MP 2.5 Management Programming Manual

ALTER SC
Use the ALTER SC command to change the attribute values of a server class that was previously
added to the PATHMON configuration file. All server processes in the server class must be in the
STOPPED state before you issue this command.
Continuation
You cannot use continuation with this command to alter all server classes; you must explicitly alter
each server class by name.
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-ALTER
Object Type
nl
ZPWY-OBJ-SC
Tokens in Command Buffer
nl
ZPWY-MAP-SEL-SC token-type ZPWY-DDL-SEL-SC. !r
ZPWY-MAP-DEF-SC token-type ZPWY-DDL-DEF-SC. !r
ZPWY-TKN-DEF-SCPROGRAMOSS token-type ZSPI-TYP-BYTESTRING.
ZPWY-TKN-DEF-SCCWD token-type ZSPI-TYP-BYTESTRING.
ZPWY-TKN-DEF-SCSTDERR token-type ZSPI-TYP-BYTESTRING.
ZPWY-TKN-DEF-SCSTDIN token-type ZSPI-TYP-BYTESTRING.
ZPWY-TKN-DEF-SCSTDOUT token-type ZSPI-TYP-BYTESTRING.
ZPWY-TKN-DEF-SCENV token-type ZSPI-TYP-BYTESTRING.
ZPWY-TKN-DEF-SCARGLIST token-type ZSPI-TYP-BYTESTRING.
Tokens in Response Buffer
ZPWY-MAP-SEL-SC token-type ZPWY-DDL-SEL-SC.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-INT.
Tokens in Command Buffer
For server classes having Guardian processes, the following token and fields in ZPWY-MAP-DEF-SC
are required: ZDEFAULTVOLUME and ZPROGRAM.
For server classes having OSS processes, the following tokens and fields in ZPWY-MAP-DEF-SC
are required: ZPROCESSTYPE and ZDEFAULTVOLUME. ZPWY-TKN-DEF-SCPROGRAMOSS is also
required.
The tokens valid for OSS processes only are:
ZPWY-TKN-DEF-SCPROGRAMOSS
ZPWY-TKN-DEF-SCCWD
ZPWY-TKN-DEF-SCSTDERR
ZPWY-TKN-DEF-SCSTDIN
ZPWY-TKN-DEF-SCSTDOUT
ZPWY-TKN-DEF-SCENV
ZPWY-TKN-DEF-SCARGLIST
ALTER SC 139