NET/MASTER Network Control Language (NCL) Reference Manual

&SYS.TIME
System Variables
5–102 106126 Tandem Computers Incorporated
&SYS.TIME The &SYS.TIME system variable contains the current time of day in the format
hh:mm:ss
in which
hh
is hours,
mm
is minutes, and
ss
is seconds. The value of
&SYS.TIME is taken from the system time.
The value returned from &SYS.TIME is always an eight-character value (for example,
8:00 a.m. is prefixed with a zero: 08:00:00).
&SYS.TIME
Example
The following example shows how you might use this system variable:
SAY "The time is "&SYS.TIME "."
&SYS.USER.AUTH The &SYS.USER.AUTH system variable contains the command authority level of the
user currently executing a procedure.
The value returned by this variable is in the range 0 (zero) through 255.
&SYS.USER.AUTH
Consideration
If &SYS.USER.AUTH is referred to in a procedure that is not being executed by a
particular user (such as those executed during system initialization), the maximum
command authority level of 255 is returned.
Example
The following example shows how you might use this system variable:
SAY "Your authority level is " &SYS.USER.AUTH"."
IF &SYS.USER.AUTH \= 255 THEN
GOTO REJECT