Distributed Name Service (DNS) Management Programming Manual

DELETE CTYPE Command
Using DNS in Programs: The DNS Commands
5–88 46958 Tandem Computers Incorporated
DELETE CTYPE Command The DELETE CTYPE command deletes a composite-object type.
Command
ZDNS-CMD-DELETE
Object Type
ZDNS-OBJ-CTYPE
Tokens in Command Buffer
ZDNS-MAP-DEL-DNSTYPE !r
def ZDNS-DDL-DEL-DNSTYPE.
02 ZNAME type ZDNS-DDL-DNSTYPENAME. !r
end.
Tokens in Response Buffer
ZDNS-TKN-OBJNAME token-type ZSPI-TYP-STRING
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL
Tokens in Command Buffer
ZDNS-MAP-DEL-DNSTYPE
is a required structured token that describes the composite-object type to be
deleted. It has the token number ZDNS-TNM-DEL-DNSTYPE and the definition
ZDNS-DDL-DEL-DNSTYPE. It contains the following field:
ZNAME
contains the name of the composite type to be deleted. Possible errors
referring to this field are:
ZDNS-ERR-INUSE (instances of the type exist)
ZDNS-ERR-INV-NAME
ZDNS-ERR-NOTFOUND
ZDNS-ERR-REQD-FIELD