Distributed Name Service (DNS) Management Programming Manual

STOP Command
Using DNS in Programs: The DNS Commands
5–216 46958 Tandem Computers Incorporated
STOP Command The STOP command initiates an orderly shutdown of DNS.
Command
ZDNS-CMD-STOP
Object Type
ZDNS-OBJ-DNS
Tokens in Command Buffer
ZDNS-TKN-STOP-TYPE token-type ZSPI-TYP-ENUM !o
Tokens in Response Buffer
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING
Tokens in Command Buffer
ZDNS-TKN-STOP-TYPE
may be included in a STOP DNS SPI request. It may have one of the following
values:
ZDNS-VAL-STOP-NORMAL (1)
ZDNS-VAL-STOP-QUICK (2)
When included, the token must contain the value 1 or 2, where 2 indicates a fast
shutdown. If the token is not included, the value 1 is assumed. This token is also
included in the ZDNS-EVT-SHUTDOWN event message. If DNS stops due to an
error, this token contains the value ZDNS-VAL-STOP-ERROR (3).