T-COPY Command

The T-COPY command copies all or part of a tape to another tape. An mvBase format label is required for copying tapes; non-mvBase tapes cannot be copied using T-COPY. (Use :PLOAD and :PDUMP together to copy non-mvBase tapes.) You must have SYS1 privileges to use T-COPY.

Format

T-COPY tapeunit [(number)]

Parameter(s)

tapeunit

Number of the tape unit on which the source tape is mounted.

number

Number of files you want to copy. If you do not specify number, all files on the tape are copied.

Description

In order to make a copy of a tape, the source tape (the tape to be copied) should be on a tape unit that is selected for the user’s process but not attached to any process (including the user’s). The destination tape (the tape that will be written to) should be on a tape unit that is both attached to and selected for the user’s process.

Multireel tapes should not be copied due to end of media incompatibilities. The last block of a tape can be lost, or it may be duplicated at the end of one tape and the beginning of the next.

If the source tape is unlabeled, the block size of the destination tape must be equal to or greater than the block size of the source tape.

NOTE

You cannot copy a 1/4-inch tape to a floppy disk drive.