Step 3. Transfer the archive file to a tape or diskette
To a tape or diskette at the workstation: While working
in MVS™:
- a.
- For information about how to copy an archive file from the file system into a data set, see Step 2. Copy the file from the file system to a data set.
- b.
- Enter the FTP command.
- c.
- Enter the binary subcommand.
- d.
- Enter the put subcommand, specifying a pathname at your workstation as a destination.
- e.
- At the workstation, copy the archive file into a file.
To a tape at the host: While working in MVS:
- a.
- For information about how to copy an archive file from the file system into a data set, see Step 2. Copy the file from the file system to a data set.
- b.
- Copy the archive file from the data set to tape. Here is some
sample JCL for copying a data set containing an archive file (TURBO.TAR)
to a tape (TURBO.TARTAPE):
//DS2TAPE JOB ,',MSGLEVEL=(1,1) //* //STEP1 EXEC PGM=IEBGENER //SYSIN DD DUMMY //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSNAME=TURBO.TAR,DISP=OLD //SYSUT2 DD DSNAME=TURBO.TARTAPE,UNIT=TAPE,LABEL=(1,NL), // DISP=(NEW,KEEP)
Guideline: For LABEL=, NL indicates that there is no label. Use NL when transferring a tape between an MVS and a UNIX system; use SL when transferring a tape between two MVS systems.