TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-258
VMOVE Command
number
is an integer identifying a specific line. It must be greater than zero and not
greater than the number of lines in the variable level, plus one (it can specify a
new line past the last existing line).
Considerations
•
source-var and dest-var must not be the same variable level.
•
Moved lines are inserted immediately preceding dest-line.
Example
If these variables have the contents shown:
the command:
VMOVE /TO listvar/ srcvar 2/4 dstvar 3
causes them to contain:
and causes this to be written to the TACL OUT file:
3 FOX JUMPED OVER
4 THE LAZY DOG
5 TWICE A DAY
Srcvar Dstvar Listvar
THE QUICK BROWN ABCDEFG 12345678910
FOX JUMPED OVER HIJKLMNOPQRST 1121314151617
THE LAZY DOG UVWXYZ 18192021
TWICE A DAY
EXCEPT
TUESDAYS
Srcvar Dstvar Listvar
THE QUICK BROWN ABCDEFG 12345678910
EXCEPT HIJKLMNOPQRST 1121314151617
TUESDAYS FOX JUMPED OVER 18192021
THE LAZY DOG FOX JUMPED OVER
TWICE A DAY THE LAZY DOG
UVWXYZ TWICE A DAY