Re: How can a script reliably tell whether ontape failed?
Posted in 1995
Topics: Backup & Restore
Of course Informix doesn't think its worth fixing. The only time you are
concerned about what exit code you get is if you are doing it in a script!
What we did was do an oncheck -pr and grep for 'Archive completed' or
something like that. It's been a while since we had that section... Of
course, we did not know the problem you are reporting
Interesting. I didn't know about this exit code business.
Under what conditions do you get a 0, when you should have gotten
something else?
**************************************************************************
***************
Remember, My views [QUITE OFTEN] do not reflect those of my
company... :)
=====================Your mileage may vary=========================
Although I do consider myself a UNIX professional, always keep in
mind that
a professional does not mean you're good at it, It just means you get
paid for it!!!
===============================================================
P.S. In case you're wondering, the login is significant...... As any good
Sysadmin, I
am rungonmt (that is, running on empty....) LOL