Distributed Name Service (DNS) Management Programming Manual
ADD CTYPE Command
Using DNS in Programs: The DNS Commands
46958 Tandem Computers Incorporated 5–17
ZDNS-MAP-ADD-CTYPE-SSTYPE
is a structured token that describes the components of the new composite type.
This token is required. One occurrence of this token must be supplied for each
component of the composite type; two to eight components may be specified. It
has the token number ZDNS-TNM-ADD-CTYPE-SSTYPE and the definition
ZDNS-DDL-ADD-CTYPE-SSTYPE. It contains the following fields:
ZSSTYPE
specifies the subsystem-object type. Possible errors referring to this field are:
ZDNS-ERR-INV-NAME
ZDNS-ERR-NOTFOUND
ZDNS-ERR-REQD-FIELD
ZSS
specifies the subsystem defining ZSSTYPE. This may be supplied as “*” to
indicate that objects with type ZSSTYPE in any subsystem can be used for this
component. Possible errors referring to this field are:
ZDNS-ERR-INV-NAME
ZDNS-ERR-REQD-FIELD
Tokens in Response Buffer
ZDNS-TKN-OBJNAME
is an object-name token that contains the name of the composite type added by the
command. This token is present in every response record. ZDNS-TKN-
OBJNAME is described in Section 4 under the heading “Simple Tokens.”
ZSPI-TKN-RETCODE
is the standard SPI return token described in the Distributed Systems Management
(DSM) Programming Manual. This token is present in every response record. If its
value is zero (ZDNS-ERR-NOERR), this token indicates that the name is
successfully added. If ZSPI-TKN-RETCODE is not zero, the name is not added.
Where a non-zero return code is present, the response buffer may contain one or
more error lists. Even if the return code is zero, the response may still contain
error lists that describe warnings.
ZSPI-TKN-ERRLIST
is a standard SPI error list, as described in the Distributed Systems Management
(DSM) Programming Manual. The list ends with the token ZSPI-TKN-ENDLIST.