TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-244
VCOPY Command
VCOPY Command
Use the VCOPY command to copy a range of lines from one variable and insert them
at a given line position in another variable.
option
is any of these:
OUT file-name
QUIET
TO variable-level
OUT file-name
specifies a device, or a sequential file accessible to the sequential I/O (SIO)
facility, that is to receive the copied lines. The listing includes line numbers. If
you omit this option, TACL writes the listing to its current OUT file. If the QUIET
option is present, this option is ignored.
If you specify an OUT file that does not exist, TACL creates an EDIT file
named list-file. If you specify an OUT file that already exists, TACL appends
the information to the end of the file.
QUIET
suppresses listing of copied lines even if the OUT option is supplied.
TO variable-level
is the name of an existing variable level to which a listing of all copied lines is
to be appended. Line numbers are not included. The QUIET option has no
affect on this option.
source-var
is an existing variable level containing the lines to be copied. It must not be in a
shared segment, and must not be a DIRECTORY, a STRUCT, or a STRUCT item.
range
specifies the line or lines to be copied. A range specification can be any of these:
VCOPY [ / option [ , option ] ... / ] source-var range
dest-var dest-line