FCOPY Reference Manual (32212-90008)

78 Chapter5
FCOPY Functions
FILES
Figure 5-5. Copying from a Single Labeled Tape File
For more information on the sequence options of the FILE command, refer to the FILE
command in the MPE V/E Commands Reference Manual (32033-90006) or the MPE XL
Commands Reference Manual (32650-90003). Refer to chapter 3 for examples of using
FCOPY with labeled tapes.
Examples
In the example below, FCOPY copies four files, starting with the first file, from magnetic
tape *TM1 to magnetic tape *TM7:
>FROM=*TM1;TO=*TM7;FILES=4
The second example combines the SKIPEOF and FILES functions. FCOPY positions the
unlabeled tape file *TM5 at its third file, positions the unlabeled tape file *TM2 four files
forward from its current position, and then copies two files (files three and four) from *TM5
to *TM2:
>FROM=*TM5;TO=*TM2;SKIPEOF=3,+4;FILES=2
In the final example, FCOPY copies all of the files on *ME to the files of *YOU:
>FROM=*ME;TO=*YOU;FILES=ALL