SNAX Connection Manager (SNAX/CM) Manual

DISCONNECT Command
SNAX/CM Commands
097842 Tandem Computers Incorporated 3–11
PU
pu-name
is the name of the PU to be disconnected. Either PORT or PU is required in the
DISCONNECT command on a line with multiple PUs. If the SNAX/XF line is
configured for single-port use only (MAXPUS equal to 1) and no PU parameter is
specified, the only PU on the line will be disconnected.
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 that includes any
return codes (described in Appendix B) and file-system error messages.
Using the DISCONNECT Command
SNAX/CM returns a DISCONNECT COMMAND ACCEPTED message to the user
when SNAX/CM forwards the command to the SNAX/XF service manager.
When the line is disconnected, SNAX/CM sends a message to the PROCESS
previously specified in an ENABLE or CONNECT command. If the line was
previously enabled, the DISCONNECT command has no effect on the enabled state of
the line or port.
If both the PORT and PU parameters are specified in the DISCONNECT command,
these parameters must refer to the existing connection.
Note When using SNAX/CM with multiple ports on a switched SNAX/XF line over an X.25 network, aborting a
PU does not disconnect the line. To stop a line and all its subordinate PUs and LUs, use an SCF
ABORT LINE command.
The following examples show how to use the DISCONNECT command:
This first example disconnects the current connection on a single-PU line named
$SNAP1:
-> DISCONNECT LINE $SNAP1
This second example disconnects the current connection on a line with multiple ports
or single-port line named $SNAP1, PORT $X25AM1.#SU1:
-> DISCONNECT LINE $SNAP1, PORT $X25AM1.#SU1
This third example disconnects the current connection on a line with multiple ports or
single-port line named $SNAP1, PU #PU1:
-> DISCONNECT LINE $SNAP1, PU #PU1