User Guide

6-52 Ampex 1308911-02
Model No.
Running Head
dd2_setpos_tape DD-2 Utilities Manual Pages
dd2_setpos_tape -position ’:DD2:::::278:’
2. Using the same starting position as above, the following example sets the position to the
start of file section 20 in the same partition. Because the ldbn element is left empty, a
change in the file section sets the position to the start of the file section rather than to block
234.
dd2_setpos_tape -position ’:DD2::::20::’
3. Use dd2_getpos_tape to get the current position, then use dd2_setpos_tape to space
forward 3 files. Bourne shell assumed.
POS=‘dd2_getpos_tape -stdout ’%fsn’‘
dd2_setpos_tape -position ":DD2::::‘expr $POS + 3‘::"
SEE ALSO
“DD-2 Utilities Overview” on page 6-1, dd2_getpos_tape, dd2_space_tape, dst_setpos()