WAN Manager SPI Programming Guide
WAN Manager Commands and Responses
WAN Manager SPI Programming Guide—540013-001
5-11
ABORT TASK
ABORT TASK
This command terminates the operation of the specified data link control (DLC) task by
placing the TASK object in the STOPPED state. The task is removed from the CLIP
RAM. Tasks that are previously copied to the CLIP FLASH memory are not affected.
The ABORT TASK command has this syntax:
conc-name.clip-num.dlc-task
conc-name is the name of the SWAN concentrator as specified in the ADD
ADAPTER command.
clip-num is the CLIP number, which runs the TASK object to be aborted. The
possible values for the CLIP number are 1, 2, or 3 for a SWAN concentrator and 1,
2, 3, 4, 5, or 6 for a SWAN 2 concentrator.
dlc-task is the name of the DLC task running in a WAN port. The possible
values are DLC0 or DLC1. DLC0 indicates the task running in WAN port 0. DLC1
indicates the task running in WAN port 1.
You can also use wild cards such as an asterisk (*) or question mark (?), in any
combination (for example, $ZZWAN.#*, $ZZWAN.#S*, $ZZWAN.#S*.*, and
$ZZWAN.#S01.1.DLC?) to select more than one object matching the pattern.
SCF Example
ABORT TASK $ZZWAN.#S*.3.DLC?
Using wild cards, apply the command for many tasks simultaneously. In this case, the
data list repeats with different values for the tokens.
ABORT TASK $ZZWAN.#conc-name.clip-num.dlc-task
Tokens in Command Buffer
ZSPI-TKN-COMMAND: ZCOM-CMD-ABORT
ZSPI-TKN-OBJECT-TYPE: ZCOM-OBJ-TASK
ZCOM-TKN-OBJNAME:
$ZZWAN.#conc-name.clip-num.{ DLC0 | DLC1 }
Tokens in Response Buffer
ZSPI-TKN-DATALIST:*
ZCOM-TKN-OBJNAME:
$ZZWAN.#conc-name.clip-num.{ DLC0 | DLC1 }
ZCOM-TKN-OBJTYPE: ZCOM-OBJ-TASK
ZSPI-TKN-RETCODE: ZCOM-ERR-OK
ZSPI-TKN-ENDLIST:-










