TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-199
SET VARIABLE Command
SET VARIABLE Command
Use the SET VARIABLE command to change the contents of a variable level or built-in
variable. The syntax and action of the SET VARIABLE command are the same as the
#SET built-in function.
There are two forms of the SET VARIABLE command:
option
is either of these:
IN file-name
specifies that the named file is to be read into the variable level. If this option is
present, text is not allowed.
TYPE type-name
specifies the type of variable level being set.
type-name
is one of these:
ALIAS
specifies that variable-level is an alias. This implies that text is the
name of a variable level or a file.
DELTA
specifies that variable-level is a #DELTA command variable. This
implies that text must be #DELTA commands.
DIRECTORY
specifies that variable-level is a directory. If you omit text, this option
clears variable-level and establishes an empty directory. If you include
text, it must have a specific form:
mode file-name
where mode is either PRIVATE or SHARED, and file-name is the name
of an existing segment file (code 440); the segment file must not reside
on a remote system. This form of the SET VARIABLE command
associates a directory variable with a segment file in the same way as
an ATTACHSEG command.
SET VARIABLE [ / option [ , option ] / ] variable-level
[ text ]
SET VARIABLE built-in-variable [ built-in-text ]