WAN Manager SPI Programming Guide

WAN Manager Commands and Responses
WAN Manager SPI Programming Guide540013-001
5-72
START TASK
HWSTATUS
specifies hardware status information from the SERVER (CLIP) object. This
attribute also provides additional information if the command detects a mismatched
type on one of the CLIPs. The HWSTATUS attribute is supported on the SWAN 2
concentrator only.
SCF Example
START SERVER $ZZWAN.#S13.*
START TASK
This command places a data link control (DLC) task's WANMgr admin state in the
STARTED state. This enables the WAN IOP (DEVICE) to start a LINE (for example,
start a DLC). If the TASK is in the STOPPED state, the WAN IOP (DEVICE) cannot
start a line. This command is not valid for DIAG task. You can also use the OSM
Service Connection or the TSM Service Application. For more information on using
OSM or TSM, see the online help within each application.
The START 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 where the TASK object executes.
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.
Tokens in Command Buffer
ZSPI-TKN-COMMAND: ZCOM-CMD-START
ZSPI-TKN-OBJECT-TYPE: ZCOM-OBJ-SERVER
ZCOM-TKN-OBJNAME: $ZZWAN.#conc-name.clip-num
ZCOM-TKN-SUB:
ZCOM-VAL-SUB-ALL | ZCOM-VAL-SUB-
NONE |
ZCOM-VAL-SUB-ONLY !o
Tokens in Response Buffer
ZSPI-TKN-DATALIST:*
ZCOM-TKN-OBJNAME: $ZZWAN.#conc-name.clip-num
ZCOM-TKN-OBJTYPE: ZCOM-OBJ-SERVER
ZSPI-TKN-RETCODE: ZCOM-ERR-OK
ZSPI-TKN-ENDLIST:-
START TASK $ZZWAN.#conc-name.clip-num.dlc-task