TS/MP 2.5 Management Programming Manual

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-ADD
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. !r
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.
These tokens are valid for OSS processes only:
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
Tokens in Response Buffer
For ADD SC, common error values for ZSPI-TKN-RETCODE are:
DescriptionError TokenError Number
A server class by this name already exists.A server class by this name already exists.1012
The value specified in ZPWY-DDL-DEFPATHWAY
for ZMAXSERVERCLASSES was reached.
ZPWY-ERR-PM-TOOMANYSC1102
The current working directory cannot be changed
because other OSS pathnames were defined as
relative pathnames.
ZPWY-ERR-SP-ICWDCANTBERESETNOW4023
An attribute valid only for Guardian server
processes was specified for an OSS server
process.
ZPWY-ERR-SPI-GUARDIANATTRUSED4024
ADD SC 131