- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Error on BACKUP recording pass
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2004 06:27 PM
тАО10-27-2004 06:27 PM
Re: Error on BACKUP recording pass
I am NOT certain that trapping ONLY the severe errors is enough.
The error routine basically just sends a mail to our support center that there occurred an error during the backup routine. This mail is monitored by NON-VMS people. If they see an error then they tell me and I go in to see what actually happened. If no mail is received we basically assume, perhaps incorrectly, that everyting ran as expected without any problems.
The routine also sends a mail on completion, so that we know that the routine ran!
Chaim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2004 06:52 PM
тАО10-27-2004 06:52 PM
Re: Error on BACKUP recording pass
You can trap both types of errors. Then you can decide if you can ignore an error or not.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2004 07:48 PM
тАО10-27-2004 07:48 PM
Re: Error on BACKUP recording pass
The error routine basically just sends a mail to our support center that there occurred an error during the backup routine. This mail is monitored by NON-VMS people.
So, now HERE is where YOU will need to dicide WHETHER you also want a report of the "-E-" errors!
If you do the ON ERROR THEN CONTINUE thing,
then, first thing after the normal ending of your Backup command, catch the value of $SEVERITY in a symbol of your own.
It WILL hold the severest message level encountered, ie, "1" for SUCCESS only if NO messages, "3" for -I- if ONLY Informationals, "0" for -W- if nothing more serious than Warnings, "2" for -E- if Errors but NO fatals, and "4" for -F- at any Fatal.
So, if you want to get MAILed in case of errors also, then GOSUB a MAIL-sending routine, and then continue normal processing.
(and of course at Fatal you have jumped this, and you do any processing necessary in that case)
hth
Cheers.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2004 12:55 AM
тАО10-28-2004 12:55 AM
Re: Error on BACKUP recording pass
if you ignore file created after backup started (as I previous posted) you don't meet this error.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2004 01:17 AM
тАО10-28-2004 01:17 AM
Re: Error on BACKUP recording pass
%X00000001|WMS_I_BCK_V4>END - Save Set is Terminated
%X10000001|WMS_I_BCK_V4>END - Save Set is Terminated|Post_Proc
X10A38410|WMS_W_BCK_V4>INFO - Open Files During Backup
%X10A3824A|WMS_W_BCK_V4>INFO - Open Files During Backup
%X10A38400|WMS_W_BCK_V4>INFO - Some Files Not Found During Backup
%X10A3800A|WMS_W_BCK_V4>INFO - Some Files No More Present For Write Backup Date
%X00038150|WMS_F_BCK_V4>ABORT - Something Wrong In Backup Command Line
%X00038098|WMS_F_BCK_V4>ABORT - Something Wrong In Backup Command Line
%X10A388A8|WMS_W_BCK_V4>INFO - Open Files During Backup(retries)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2004 05:15 AM
тАО10-28-2004 05:15 AM
Re: Error on BACKUP recording pass
>$ ON ERROR THE CONTINUE
>$ ON SEVERE_ERROR THEN GOTO ...
have you tested this or know since when did it start to work? As far as I can tell, only the last "ON" is being used - one does not get a per-severity ON.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2004 09:54 PM
тАО10-28-2004 09:54 PM
Re: Error on BACKUP recording pass
how should it NOT work?
Try the logic:
ON WARNING -- traps any message of level Warning or more severe
-- then
ON ERROR -- traps any message of level Error or more severe
-- that means, level Warning is not influenced
-- and then even further
ON SEVERE_ERROR -- traps Severe (or Fatal) errors
-- leaving Error and Warning levels uninfluenced.
Until your question I never even gave it much thought, just used it, and I remember only one (evident) issue with it:
ON ERROR _does_ overrule ON SEVERE_ERROR
so the order is important!
-- I cannot remember ever having read or being taught so, but _IF_ this should NOT be the way it is implemented, then I guess I must have been SOOO lucky, I should have bought a lottery ticket instead of building this "construct" (quite a heavy name for two lines of code!)
fwiw
Cheers.
Have one on me.
Jan
- « Previous
- Next »