Moving Variable Spanned Records

Use the MOVEFILE command to move variable spanned records from any device supported by VM to any other device supported by VM. Note that when a CMS DASD device is used, the file containing the variable spanned records must have a file mode number of 4. For example,
FILEDEF IN TAP1 SL (RECFM VS
FILEDEF OUT DISK ARIZONA BBALL A4 (RECFM VS LRECL 1024
        BLOCK 512
MOVEFILE IN OUT

This moves the first file from the IBM standard labeled tape on TAP1 to the file ARIZONA BBALL A. The input record length and input block size for the IN file are taken from the tape label. The output file attributes on FILEDEF are used for the OUT file.