Distributed Name Service (DNS) Management Programming Manual

ADD GROUP Command
Using DNS in Programs: The DNS Commands
5–22 46958 Tandem Computers Incorporated
ADD GROUP Command The ADD GROUP command defines a new DNS group on the local system.
Command
ZDNS-CMD-ADD
Object Type
ZDNS-OBJ-GROUP
Tokens in Command Buffer
ZDNS-MAP-ADD-GROUP !r
def ZDNS-DDL-ADD-GROUP.
02 ZNAME type ZDNS-DDL-DNSNAME. !r
02 ZDOMAIN type ZDNS-DDL-DOMAIN. !o
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-ADD-GROUP
is a structured token that describes the new group. This token is required. It has
the token number ZDNS-TNM-ADD-GROUP and the definition ZDNS-DDL-
ADD-GROUP. It contains the following fields:
ZNAME
contains the name of the group being added. This must not be the same as
another name currently defined on the local system. Possible errors referring
to this field are:
ZDNS-ERR-DUP-NAME
ZDNS-ERR-INV-NAME
ZDNS-ERR-REQD-FIELD