NET/MASTER Network Control Language (NCL) Programmer's Guide

Using the &SYSMSG Variable
Run-Time Error Handling
7–22 106160 Tandem Computers Incorporated
Using the &SYSMSG
Variable
When a run-time error is raised, the &SYSMSG variable may contain textual
information to help you determine the cause of the error. Unlike most system
variables, that is, variables beginning with the reserved stem of SYS., you can modify
the contents of the &SYSMSG variable.
Verbs that can set &SYSMSG include the CNMREAD and CNMSEND verbs, some
FILE verbs, the PANEL verb, some PSEND verbs, some SECCALL verbs, and the
START verb.
When &SYSMSG is set, all these verbs (except the FILE and PSEND verbs) can place a
return code in the &SYS.RETCODE system variable (the FILE verbs place a value in
&SYS.FILE.RC, the PSEND verbs in &SYS.PSEND.RC).
These verbs, values, and variables are described in more detail in the NonStop
NET/MASTER NCL Reference Manual.