NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.PSEND.ERROR
System Variables
5–92 106126 Tandem Computers Incorporated
&SYS.PSEND.ERROR The &SYS.PSEND.ERROR system variable contains the current Guardian file system
error resulting from the last PATHSEND operation.
&SYS.PSEND.ERROR
Considerations
See also the other &SYS.PSEND system variables in this section.
See also the PSEND SEND verb in Section 3, “Verbs.”
For more information on Guardian file system errors, refer to the Guardian
Procedure Errors and Messages Manual.
Example
The following example displays a warning message if the &SYS.PSEND.ERROR
system variable is equal to 48, indicating that a security violation has occurred:
PSERROR1: PROCEDURE
IF &SYS.PSEND.ERROR = 48 THEN
SAY "The procedure has encountered a security failure"
END PSERROR1
&SYS.PSEND.PSERROR
The &SYS.PSEND.PSERROR system variable contains the current PATHSEND error.
&SYS.PSEND.PSERROR
Considerations
For information on PATHSEND error codes, refer to the Pathway Application
Programming Guide.
See also the other &SYS.PSEND system variables in this section.
See also the PSEND SEND verb in Section 3, “Verbs.”
Example
The following example displays a warning message if the &SYS.PSEND.PSERROR
system variable is equal to 913, indicating an attempt to access a frozen server class:
PSERROR2: PROCEDURE
IF &SYS.PSEND.PSERROR = 913 THEN
SAY "This server class is frozen"
END PSERROR2