Distributed Name Service (DNS) Management Programming Manual
ALTER CTYPE Command
Using DNS in Programs: The DNS Commands
5–52 46958 Tandem Computers Incorporated
Tokens in Command Buffer
ZDNS-MAP-ALTER-DNSTYPE
is a structured token that describes the composite type to be altered. This token is
required. It has the token number ZDNS-TNM-ALTER-DNSTYPE and the
definition ZDNS-DDL-ALTER-DNSTYPE. It contains the following fields:
ZNAME
contains the name of the composite type to be changed. Possible errors
referring to this field are:
ZDNS-ERR-INV-NAME
ZDNS-ERR-NOTFOUND
ZDNS-ERR-REQD-FIELD
ZDOMAIN
contains the new domain name, if the default domain for instances of the type
is to be changed. If the new default is that instances of the type are not to be
replicated, this field should be set to all spaces. If the field is left null, the
domain of the type is not changed. Possible errors referring to this field are:
ZDNS-ERR-INV-NAME
ZDNS-ERR-NOTFOUND
Tokens in Response Buffer
ZDNS-TKN-OBJNAME
is an object-name token that contains the name of the composite type altered 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 altered. If ZSPI-TKN-RETCODE is not zero, the name is not altered.
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 which 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.