STORE and TurboSTORE/iX Products Manual (B5151-90003)
78 Chapter5
Storing Files
Monitoring STORE Command Progress
Handling Media Errors
When a media error occurs while writing to a output device, the behavior of STORE depends
on the value of the ONERROR option, as explained below.
Tape Error Recovery
The STORE command's ONERROR parameter lets you specify a backup error recovery
procedure. Your options are ONERROR=QUIT and ONERROR=REDO. REDO is the default. QUIT
instructs STORE to abort upon encountering a backup I/O error while REDO instructs STORE
to continue after encountering an I/O error.
If you specify REDO and the STORE command encounters a backup I/O error on any device,
STORE sends a message to your terminal (or the file or device to which you have assigned
the file SYSLIST). This message indicates where the error occurred. For example,
STORESET=(*T1,*T2,*T3) is requested and a backup error occurs on the device referenced
by *T2 while it is creating reel 2. STORE rewinds the reel to the load point, marks the reel
as bad, and asks you to mount another reel. After you mount the new reel, STORE
automatically stores all the files from the point where the bad reel began.
The message is similar to the following:
• The user sees:
STORE ENCOUNTERED MEDIA WRITE ERROR ON LDEV #
where LDEV # is the device referenced by
• T2. This means that the store error recovery occurs on the same device where the error
occurred.
• The operator sees the following messages on the console:
STORE IS MARKING REEL BAD ON LDEV #
MOUNT MEDIA # OF SET # FOR STORE ON LDEV #
Bad Media
Once a piece of media has been marked bad, it should not be used for future STORE
operations. If a media that has been marked bad is mounted for use in a STORE operation,
STORE will issue the following message to the console:
MEDIA ON LDEV # IS BAD. CONTINUE ANYWAY?(Y/N)
If you reply YES, then STORE will write over this media. If you reply NO, the media will be
unloaded, and you should mount another piece of media.
NOTE
STORE will not check to see if a piece of media has been marked bad if it is the
very first reel mounted. Therefore, it is important that once a reel has been
marked bad by store, some note is made on the physical label of the media to
indicate that it encountered a write error while storing to it.