NET/MASTER Network Control Language (NCL) Reference Manual

Summary of System Variables
System Variables
106126 Tandem Computers Incorporated 5–3
Summary of System
Variables
Table 5-1 lists and briefly describes the system variables that are available in NCL.
Table 5-1. List of System Variables and Functions (Page 1 of 5)
System Variable Function
&SYS.ALLPARMS Contains a single string that holds the values of all parameters
entered when an NCL procedure is invoked.
&SYS.CURS.COL Contains the column location of the cursor.
&SYS.CURS.FLD Contains the name of the input or outvar field for the most
recent data entry from a panel.
&SYS.CURS.POS Contains the offset to the cursor position, from the start of the
field defined by &SYS.CURS.FLD.
&SYS.CURS.ROW Contains the row location of the cursor.
&SYS.DATE.DAY Contains the current day of the week.
&SYS.DATE.n Contains the current date in one of the specified formats.
&SYS.DOM.ID Contains the DOM ID identifier that must be used by the
NRDDEL verb to delete a NRD message.
&SYS.ERROR.CODE Contains the integer setting that indicates the NCL error type.
&SYS.ERROR.COLUMN Contains the column in a line of code in which an error
occurred.
&SYS.ERROR.COND Contains the name of the error condition that was issued.
&SYS.ERROR.FILE Contains the name of the source file associated with the NCL
procedure that issued the error.
&SYS.ERROR.KEYWORD Contains the keyword that caused the error.
&SYS.ERROR.LIB Contains the name of the source library associated with the
NCL procedure that issued the error.
&SYS.ERROR.LINE Contains the line number in the source file in which the error
occurred.
&SYS.ERROR.NAME Contains the name specification that caused the error before
substitution.
&SYS.ERROR.PROCNAME Contains the name of the procedure that caused an error to be
raised.
&SYS.ERROR.RESUMEOK Indicates if the procedure can be resumed.
&SYS.ERROR.RETRYOK Indicates if the statement causing the error can be retried.
&SYS.ERROR.STMT Contains the statement number that caused the error to be
issued.
&SYS.ERROR.STMT_NAME Contains the name of the statement that caused the error.
&SYS.ERROR.SUBNAME Contains the name specification that caused the error after
substitution.
&SYS.ERROR.TEXT Contains additional information on the nature of an NCL error
or condition.
&SYS.ERROR.VALUE Contains the value that caused the error to be issued.