SNAX Connection Manager (SNAX/CM) Manual
STATUS LINE Command
SNAX/CM Commands
3–26 097842 Tandem Computers Incorporated
PUNAME:
PU-name
depending on the status of the port, the value of
pu-name
can be an array
containing the name of the PU associated with the status results or N/A (not
applicable).
STATUS:
port-status
is one of the following:
1 = NOT AVAILABLE
2 = DISCONNECTED
3 = DISCONNECTING
4 = ALLOWING
5 = CALLING
6 = CONNECTED
ENABLED: { YES | NO }
displays YES if the PORT is enabled by this SNAX/CM process; otherwise,
displays NO. If the PORT was enabled by another SNAX/CM process, this
SNAX/CM displays the value as NO.
return : (OUTFILE)
if received from the IN file, specifies the text message to be returned to the OUT
file. See Appendix B for detailed descriptions of error messages.
return : ($RECEIVE)
if received from the $RECEIVE file, returns a structured buffer illustrated above.
See Appendix B for detailed descriptions of error messages.
Using the STATUS LINE Command. The following example shows how the SNAX/CM
STATUS LINE command is used. In this example, the STATUS command is used to
ask for the status of a specific line that was previously enabled:
-> STATUS LINE $SNAP1
The returned information is as follows:
LINE STATUS for LINE $snap1
Sample Time : 02/29/1992 11:11:11.11
LINE TYPE: SWITCHED FLOATING
MAXIMUM PORTS: 3 PORTS IN USE: 2
PORT $X25AM1.#SU1 PUNAME: #PU1
STATUS: Connected ENABLED: YES
PORT $X25AM1.#SU2 PUNAME: #PU8
STATUS: Connected ENABLED: NO