If you have multiple tape drives, you can use the T-COPY command to copy all or part of a tape to another tape. The copy operation takes place between a source tape drive and a destination tape drive that is to receive the copy of the tape. The source tape should be on a tape unit that is selected for the user’s process but not attached to any process (including the user’s). This is the tape drive that is specified as a parameter to the T-COPY command. The destination tape should be on a tape unit that is both attached to and selected for the user’s process.
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. |
Here are a few guidelines for copying tapes:
Tapes not configured for use with mvBase cannot be copied using T-COPY.
SYS1 privileges are required.
Multireel tapes should not be copied. The last block of a tape could be lost, or it might 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.
See Also