Function
Tapes specified in the parameters will be recorded as not available for use until a TAPERIGHT command is given in the same context.
Format
TAPEWRONG tape serial number1,tape serial number2,....tape serial numbern
The tape serial numbers must be qualified by *MT.
Forbidden contexts
Execution
In either context once the current user has finished with the tape nobody can access it until all 'tape wronged' markers for the tape have been removed by TAPERIGHT commands.
If the tape is a dump tape the entries in :SYSTEM.INCINDEX for increments held on this tape are marked, as well as the entries in :SYSTEM.SERIAL.
All the tapes described by the parameters will be dealt with except those about which error messages are output. Since the tapes are not dealt with in the order they are specified in the parameters, if break-in occurs no assumptions should be made about which tapes have or have not been TAPEWRONGed.
If the dump tape is the last tape available containing a particular set of
increments, the following message will be output to the operator's
console
MT n WAS THE LAST TAPE CONTAINING INCREMENTS
a,b,c AND FILES IT HELD WILL NOW BE LOST
The effect of TAPEWRONG can be cancelled by the TAPERIGHT command.
Example
TAPEWRONG (360345)(*MT),(360246)(*MT)
Error Messages
DEVICE TYPE QUALIFIER IMPERMISSIBLE
DEVICE TYPE QUALIFIER MISSING
MAGNETIC TAPE DESCRIPTION FOR THIS COMMAND MUST CONSIST OF A SERIAL
NUMBER ONLY
z IS A XENOTAPE AND MAY NOT BE REFERRED TO BY THIS COMMAND
SERIAL NUMBER MISSING
SERIAL NUMBER ALREADY GIVEN IN THIS COMMAND
z IS NOT KNOWN TO THE LIBRARIAN
THIS COMMAND IS ONLY ALLOWED IN OPERATOR OR USER CONTEXT
YOU DO NOT OWN z