Distributed Name Service (DNS) Management Programming Manual

ADD COMP Command
Using DNS in Programs: The DNS Commands
5–14 46958 Tandem Computers Incorporated
Operational Notes
If the requester does not have DNS write authority, the command is rejected with
ZDNS-ERR-SECURITY.
If the number of ZDNS-MAP-ADD-COMP-SSOBJ occurrences supplied does not
match the number of components defined for the type of composite being added,
the command is rejected with ZDNS-ERR-WRONG-NUM-COMPONENTS.
If a ZDNS-MAP-ADD-COMP-SSOBJ specifies a subsystem-object or subsystem
that does not match one of the components for the specified composite type, the
command is rejected with ZDNS-ERR-INV-COMPONENT.
If a ZDNS-ADD-COMP-SSOBJ names a subsystem object whose subsystem object
type does not agree with the specified SSOBJ or SS, the command is rejected with
ZDNS-ERR-WRONG-TYPE.
If two ZDNS-MAP-ADD-COMP-SSOBJ occurrences specify the same subsystem-
object type, the command is rejected with ZDNS-ERR-DUP-COMPONENT.
If ATM is a composite type with components LU IN SNAX, TERM IN PATHWAY,
and TASK IN SNAXHLS, the DNSCOM command “ADD COMPOSITE ATM44,
LU $LINE4.#ATM22, TERM ATM44 UNDER \WESTB1.$PM, TASK
$LINE4.#ATM22 UNDER \WESTB.$SNAXHLS, DOMAIN ALL-NCNS” passes
ZDNS-MAP-ADD-COMP and ZDNS-MAP-ADD-COMP-SSOBJ as follows:
ZDNS-MAP-ADD-COMP
ZNAME = "ATM44 "
ZTYPE = "ATM "
ZDOMAIN = "ALL-NCNS "
ZDNS-MAP-ADD-COMP-SSOBJ[1]
ZSSTYPE = "LU "
ZSS = "SNAX "
ZSSOBJ = "\WESTB1 $LINE4 #ATM22 "
ZSSMGR = "\WESTB1 $SSCP "
ZDNS-MAP-ADD-COMP-SSOBJ[2]
ZSSTYPE = "TERM "
ZSS = "PATHWAY "
ZSSOBJ = "ATM44 "
ZSSMGR = "\WESTB1 $PM "
ZDNS-MAP-ADD-COMP-SSOBJ[3]
ZSSTYPE = "TASK "
ZSS = "SNAXHLS "
ZSSOBJ = "\WESTB1 $LINE4 #ATM22 "
ZSSMGR = "\WESTB1 $SNAXHLS "