TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-9
Summary of Built-In Variables
Summary of Built-In Variables
You can use built-in variables anywhere a built-in function can be used and as the
object of #PUSH, #POP, and #SET. In all cases, #PUSH saves a copy of the variable,
#SET assigns a new value to it, and #POP removes that value, restoring the variable
to the value last saved by #PUSH.
Table 9-2 on page 9-10 summarizes the built-in variables and the data they represent.
#SYSTEMNAME Built-In
Function
Requests a system by name
#SYSTEMNUMBER Built-In
Function
Requests a system by number
#TACLOPERATION Built-In
Function
Determines whether TACL is reading commands from IN
or $RECEIVE
#TACLVERSION Built-In
Function
Obtains TACL product number
#TIMESTAMP Built-In Function
Obtains internal form of CPU interval clock
#TOSVERSION Built-In Function
Obtains current RVU of the operating system
#UNFRAME Built-In Function
Pops all variables pushed since #FRAME
#USERID Built-In Function
Specifies a user by user ID
#USERNAME Built-In Function
Specifies a user by user name
#VARIABLEINFO Built-In
Function
Gets information about a variable
#VARIABLES Built-In Function
Obtains names of all variables in your home directory
#VARIABLESV Built-In Function
Obtains names of all your variables, puts them on
separate lines in an existing variable level
#WAIT Built-In Function
Specifies variables for which a routine must wait
#XFILEINFO Built-In Function
Implements FILEINFO command
#XFILENAMES Built-In Function
Implements FILENAMES command
#XFILES Built-In Function
Implements FILES command
#XLOGON Built-In Function
Implements LOGON command
#XPPD Built-In Function
Implements PPD command
#XSTATUS Built-In Function
Implements STATUS command, except confirmation
message
Note. All TACL built-ins are executed by the TACL process, which runs only on the node
where it was started, regardless of any SYSTEM commands that are issued. To execute a
built-in command on another system, you must start a new TACL process on that system.
Table 9-1. Built-In Functions (page 8 of 8)
Function Description