NET/MASTER Network Control Language (NCL) Reference Manual

PSEND CLOSE
Verbs
3–152 106126 Tandem Computers Incorporated
PSEND CLOSE The PSEND CLOSE verb makes a Pathway server class unavailable for use by an NCL
process. The NCL process is subsequently unable to exchange messages with the
Pathway server class.
The Pathway server class can then be made unavailable for use by NonStop
NET/MASTER MS (by using the PSNDCTL CLOSE command).
PSEND CLOSE { ID=
local-pathsend-id
| ALL }
ID=
local-pathsend-id
specifies the PATHSEND ID of the Pathway server class you want to make
unavailable for use. A value is given to
local-pathsend-id
when the PSEND
OPEN verb is executed.
ALL
specifies that you want to make all currently available Pathway server classes
unavailable for use.
Considerations
The &SYS.PSEND.RC system variable reflects the result of all PATHSEND
operations within NCL. NCL sets this variable on completion of the PSEND
CLOSE verb, as follows:
Return Code Meaning
0 Not used.
4 Not used.
8 Not used.
12 Not used.
16 Server class unavailable for use by an NCL process.
See also PSEND OPEN, PSEND SEND, and PSEND SET.
For more information on how to use the PATHSEND interface within an NCL
process, refer to the NonStop NET/MASTER NCL Programmer's Guide.
Examples
The following example makes a Pathway server class unavailable for use by an NCL
process:
PSEND CLOSE ID=PSND_1