WAN Manager SPI Programming Guide

WAN Manager Commands and Responses
WAN Manager SPI Programming Guide540013-001
5-37
DELETE DEVICE
DELETE DEVICE
This command removes the definition of a data communications subsystem object
from the configuration database. You must stop the DEVICE object with the STOP
DEVICE command before you can delete it.
The DELETE DEVICE command has this syntax:
devicename
is the name of the WAN line without the leading dollar sign ($) or a name template.
You can also use a wild card such as an asterisk (*), in any combination (for
example, $ZZWAN.#* and $ZZWAN.#S*) to select more than one object matching
the pattern.
SCF Example
DELETE DEVICE $ZZWAN.#EXP*
DELETE PATH
This command removes the definition of a path on a CLIP from the configuration
database.
The DELETE PATH command has this syntax:
conc-name.clip-num.path-name
conc-name is the name of the SWAN concentrator as specified in the ADD
ADAPTER command.
clip-num is the CLIP number for the SERVER object.
DELETE DEVICE $ZZWAN.#devicename
Tokens in Command Buffer
ZSPI-TKN-COMMAND: ZCOM-CMD-DELETE
ZSPI-TKN-OBJECT-TYPE: ZCOM-OBJ-DEV
ZCOM-TKN-OBJNAME: $ZZWAN.#devicename
Tokens in Response Buffer
ZSPI-TKN-DATALIST:*
ZCOM-TKN-OBJNAME: $ZZWAN.#devicename
ZCOM-TKN-OBJTYPE: ZCOM-OBJ-DEV
ZSPI-TKN-RETCODE: ZCOM-ERR-OK
ZSPI-TKN-ENDLIST:-
DELETE PATH $ZZWAN.#conc-name.clip-num.path-name