Distributed Name Service (DNS) Management Programming Manual

Overview of the DELETE Commands
Using DNS in Programs: The DNS Commands
46958 Tandem Computers Incorporated 5–81
Overview of the
DELETE Commands
ZDNS-CMD-DELETE deletes names from the DNS database and is analogous to the
DELETE command in DNSCOM. ZDNS-CMD-DELETE may be used with the
following object types:
Object Type Definition
ZDNS-OBJ-ALIAS Write authority required
ZDNS-OBJ-ATYPE Definition authority required
ZDNS-OBJ-COMP Write authority required
ZDNS-OBJ-CTYPE Definition authority required
ZDNS-OBJ-DOM Write authority required
ZDNS-OBJ-GROUP Write authority required
ZDNS-OBJ-SS Definition authority required
ZDNS-OBJ-SSMGR Write authority required
ZDNS-OBJ-SSOBJ Write authority required
ZDNS-OBJ-SSTYPE Definition authority required
The considerations for each object type used with ZDNS-CMD-DELETE are described
in the following subsections.
The response to ZDNS-CMD-DELETE always contains ZSPI-TKN-RETCODE, which,
if zero, indicates that the name is successfully deleted. If ZSPI-TKN-RETCODE is not
zero, the name is not deleted. If the return code is zero, the response may still contain
error lists that describe warnings.
Provided that the parameter containing the name to be deleted is supplied, the
response also contains the ZDNS-TKN-OBJNAME whose value is the name being
deleted. No response tokens other than ZSPI-TKN-RETCODE, ZDNS-TKN-
OBJNAME, and error lists are returned by ZDNS-CMD-DELETE.
All variations of the DNSCOM DELETE command that delete multiple names are
implemented with a combination of the ZDNS-CMD-INFO command and ZDNS-
CMD-DELETE. See “TMF Considerations” in Section 3 if you are performing a large
number of delete operations.