NET/MASTER Network Control Language (NCL) Programmer's Guide
Controlling Access to a Server Class by NCL
Working With Pathway Server Classes
15–12 106160 Tandem Computers Incorporated
Table 15-2. System Variables Set by PSEND Verbs
System Variable Contents of System Variable
&SYS.PSEND.RC Contains a return code after each PSEND verb completes its operation. The value of the return code
indicates the result of an operation.
&SYS.PSEND.ERROR Contains (for some return codes) the Guardian file system error number, if applicable.
&SYS.PSEND.PSERROR Contains the current PATHSEND error number. This variable contains a value if the value of
&SYS.PSEND.RC is 4 or 16 after the PSEND SEND verb completes its operation. Refer to the Pathway
Application Programming Guide for PATHSEND error numbers, the corresponding error description,
typical corresponding file system errors, and information on cause, effect, and recovery.
&SYS.PSEND.ID Contains the current local server class ID.
&SYSMSG Contains (for some return codes) the text of the message that corresponds to the value of
&SYS.FILE.RC.
Table 15-3. PSEND Verb Return Codes in &SYS.PSEND.RC
Return Code PSEND CLOSE PSEND OPEN PSEND SEND PSEND SET
0 Not used. Not used. Message sent and
received successfully.
Server class set
successfully.
4 Not used. Not used. PATHSEND error. Not used.
8 Not used. Open request accepted. File system error. Not used.
12 Not used. Open request rejected. Not used. Not used.
16 Close request accepted. Error occurred; further
information available in
&SYSMSG.
Error occurred; further
information available in
&SYSMSG.
Error occurred; further
information available in
&SYSMSG.