TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-414
#VARIABLEINFO Built-In Function
OFFSET
returns the number of bytes between the beginning of the structure and the first
byte of data of the specified variable level (if the specified variable level is a
STRUCT item).
PROCESS
returns the process identification associated with the specified variable level by
means of an implicit server.
For an unnamed process, a process ID (that is, cpu,pin) is returned.
For a named process, the process name is returned.
If the process name is not available, nothing is returned.
REQUESTER
returns the file name associated with the specified variable level, if it is used as
a requester variable.
SEGMENT
returns the name of the segment file that contains the variables of a directory, if
variable-level is a directory and its variables are in a different segment
file from that in which variable-level resides. In all other cases, this option
is inoperative.
SERVER
returns the server process name associated with the specified variable level, if
that variable level is used as an explicit server variable.
TYPE
returns the type of the variable level.
VARIABLE
returns the name of the specified variable, stripped of any level-number
identification.
variable-level
is the name of the variable level about which you are requesting information.
Result
#VARIABLEINFO returns a space-separated list of the requested information about the
variable level.
In the case of the LEN, LINES, OCCURS, OFFSET, and TYPE options, the information
returned is a function of the type of variable level involved.