FCOPY Reference Manual (32212-90008)
Chapter 5 97
FCOPY Functions
SKIPEOF
where skipping begins on *TAPE2, FCOPY copies data to its seventh file:
>FROM=*TAPES;TO=*TAPE2;SKIPEOF=+3,7
The FCOPY command below skips to the fifth file of *TAPEA and positions *TAPEB four files
back from its current position. FCOPY copies file #5 of *TAPEA to the selected file on
*TAPEB:
>FROM=*TAPEA;TO=*TAPEB;SKIPEOF=5,-4
If you are copying several files from or to the same device, you can use an asterisk (*) to
refer to the "from" or "to" device in the previous command. For example, the command
below copies file #2 of *TAPES, the "from" device in the previous example, to file #8 of
*TAPE2, the "to" device in the previous example:
>FROM=*;TO=*;SKIPEOF=2,8
In the example below, FCOPY does not move *MYTAPE from its current position, but
positions $CTUL, a terminal cartridge tape unit (refer to chapter 6), at the ninth file.
FCOPY then copies the file at the current position of *MYTAPE to the ninth file of the
cartridge tape:
>FROM=*MYTAPE;TO=$CTUL;SKIPEOF=,9