NET/MASTER Network Control Language (NCL) Reference Manual
&SYSMSG
System Variables
106126 Tandem Computers Incorporated 5–55
&SYSMSG The &SYSMSG variable contains an error message set by NCL panel services and/or
NCL file processing. It is not exactly a system variable because its value is not
common to all executing procedures within an NCL process.
This variable is included in this section because its function is similar (in most
respects) to system variables.
NCL sets this variable to the text of a message related to the first error detected during
internal validation of a panel displayed by the PANEL verb. When file processing
detects an error and returns an error code of 16 in &SYS.FILE.RC, NCL sets &SYSMSG
to contain further error information. When the CNMREAD or CNMSEND verb
detects an error and returns an error code of 8 in &SYS.RETCODE, NCL also sets
&SYSMSG to contain further error information.
&SYSMSG
The following NCL verbs can set &SYSMSG:
CNMREAD
CNMSEND
All FILE verbs except FILE CLOSE
PANEL
All SECCALL verbs except SECCALL CHECK and SECCALL EXIT
The START verb
Considerations
Unlike most system variables, the user can modify the contents of this variable.
Refer to the NonStop NET/MASTER NCL Programmer’s Guide for more information
on the &SYSMSG variable.
See the following verbs: CNMREAD, CNMSEND, FILE, PANEL, and START in
Section 3, “Verbs.”
See also &SYS.FILE.RC, &SYS.PANEL.FLD, and &SYS.RETCODE.