rewind device
device
The device to be rewound.
initcache = yes
Initialize the magtape device position cache for the device. This causes
the magtape i/o system to "forget" what it thinks it knows about things
like the number of files on the tape, the amount of tape used, and so on.
Rewind rewinds the specified device, which is most likely a magnetic tape, and which has been previously allocated to the user.
By default rewind will initialize the device position cache. When changing tapes, one should always either rewind or deallocate and reallocate the device, to force the magtape system to recompute the number of files on the tape and to ensure that the tape is left in a defined position.
1. Rewind logical tape drive a.
cl> rewind mta
allocate, deallocate, devstatus,