FCOPY Reference Manual (32212-90008)

Chapter 5 95
FCOPY Functions
SKIPEOF
Figure 5-6. Skipping Absolute File Numbers
If you specify zero as a
from-file-number
or a
to-file-number
, FCOPY copies from or to
the first file on the tape or serial disk.
Relative File Numbers
Both
from-eofs
and
to-eofs
represent the number of files to skip relative to the tape's
current position. If you use a plus sign (+) to specify forward movement, the SKIPEOF
function skips forward over the specified number of EOF marks. Figure 5-7 shows the effect
of specifying SKIPEOF=+3.
Figure 5-7. SKIPEOF=+3
If you use a minus sign () to specify backward movement, the SKIPEOF function skips
backward over the specified number of EOF marks plus 1, and then skips forward one EOF
mark. This action positions the tape at the beginning of a file, rather than at the end of the
preceding file. Figure 5-8 shows the effect of specifying SKIPEOF=3.