× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You know, Pete's idea has merit but I doubt it would work with a SAVLIB(*ALLUSR)
command...
By the time you're monitoring for the CPF msg the Save job has already
terminated...

So what you'd have to do is write a CL that simulates a SAVLIB(*ALLUSR)...
In other words you set up a file of library names you want to save...
The CL would loop through the file and do a SAVLIB(&libnam) for each name in the
file...  (*LEAVE) on the rewind tape option...
Use tne MONMSG right after the SAVLIB and if you do get a media error do the
CHKTAP (*UNLOAD)...
The trick then becomes loading the next tape...(This might be a show stopper...)
Then you could start the save of the library that it failed on all over again on
the new tape...

It will prove tough to test unless you can force the media error msg via a DEBUG
or something...

Good luck with that...







"Pete Sorensen" <PSorensen@xxxxxxxxxxxxxxxx> on 02/20/2003 02:59:10 PM

Please respond to "GEAC/JBA System 21 Users" <jbausers-l@xxxxxxxxxxxx>
                                                              
                                                              
                                                              
  To:          jbausers-l@xxxxxxxxxxxx                        
                                                              
  cc:          (bcc: Jeff Klipa/Harvard)                      
                                                              
                                                              
                                                              
  Subject      Re: [SYS21]   FW: Media errors on Magstar tape 
  :            backup                                         
                                                              






If the MONMSG command gets tripped, use this command CHKTAP DEV(device
name) ENDOPT(*UNLOAD).    This should unolad the tape and grab the next
one.

>>> aheffner@xxxxxxxxxxxxx 02/20/03 12:59PM >>>


We do an unattended backup nightly using SAVLIB(*ALLUSR) to a 3570
Magstar
tape drive.  Every once in a while we get error message CPF5349 Media
error
on volume tapnn on device TAP02.  Since we MONMSG CPF0000 this ends
our
backup.

I would like to be able to monitor for CPF5349, unload the bad tape
and
continue on with the backup using the next tape in the library.  Anyone
have
a great idea how to accomplish this?
(V4R4)

Thanks in advance,

Art Heffner
Production Tool Supply
_______________________________________________
This is the GEAC/JBA System 21 Users (JBAUSERS-L) mailing list
To post a message email: JBAUSERS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/jbausers-l
or email: JBAUSERS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/jbausers-l.

_______________________________________________
This is the GEAC/JBA System 21 Users (JBAUSERS-L) mailing list
To post a message email: JBAUSERS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/jbausers-l
or email: JBAUSERS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/jbausers-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.