TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-240
VARTOFILE Command
VARTOFILE Command
Use the VARTOFILE command to copy the data in a variable to a file.
variable-level
is the name of an existing variable level from which data is to be copied. It must not
be a DIRECTORY, a STRUCT, or a STRUCT item.
file-name
is the name of the file that is to receive the copy. If the file exists, it must be of a
type that can be written to by the sequential I/O (SIO) facility. The new data is
appended to the existing data. If the file does not exist, TACL creates an edit-
format file.
Considerations
•
Lines longer than 239 characters are truncated to 239 characters.
•
For security, TACL makes a temporary copy of the variable while this command is
being executed.
•
I/O is done in PLAIN format. This means that the internal representations of the
metacharacters [, |, and ] in TACL statements are not translated to their external
representations when written to the file.
VARTOFILE variable-level file-name