FCOPY Reference Manual (32212-90008)

Chapter 5 77
FCOPY Functions
FILES
Copying Files on Labeled Tape
Unless you want to copy the same labeled tape file repeatedly, use NEXT as the sequence
option for the LABEL parameter in the
fromfile
tape's file equation. For example, the
commands below copy subsets of three files from labeled tape TAPEALFA to TAPEBETA, as
shown in figure 5-4.
>:FILE TAPEALFA;LABEL=,,,NEXT
>:FILE TAPEBETA;LABEL=,,,NEXT
>FROM=*TAPEALFA;TO=*TAPEBETA;FILES=3;SUBSET=11:25
Figure 5-4. Copying Subsets of Files to Labeled Tape
If you specify a particular file as the sequence option for the labeled tape, FCOPY copies
data from that file to all the new files. For example, the commands below produce the
result shown in figure 5-5:
>:FILE TAPEALFA;LABEL=,,,4
>FROM=*TAPEALFA;TO=TAPEBETA;FILES=3;SUBSET=11:25