<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can everyone post an backup error message? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256788#M62571</link>
    <description>Well, Victor&lt;BR /&gt;&lt;BR /&gt;there _MAY_ be a more generic approach;&lt;BR /&gt;&lt;BR /&gt;There is a file SYS$HELP:MSGHLP$LIBRARY:MSGHLP$DATA&lt;BR /&gt;&lt;BR /&gt;This is the file from which HELP/MESSAGE takes it's info.&lt;BR /&gt;&lt;BR /&gt;I haven't found a wildcard HELP command that takes out the BACKUP related messages (not been seeking very thorough though), but I trust that now you know WHERE to look, you will be able to extract the relevant data.&lt;BR /&gt;As far as I know, this SHOULD also be the closest you will get to completeness.&lt;BR /&gt;&lt;BR /&gt;Well, I'll leave you to do the dirty work yourself!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Success&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jan</description>
    <pubDate>Thu, 22 Apr 2004 14:36:10 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2004-04-22T14:36:10Z</dc:date>
    <item>
      <title>Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256784#M62567</link>
      <description>I am trying to collect a list of backup error messages, so that a monitoring script can be created.&lt;BR /&gt;&lt;BR /&gt;So far I have..&lt;BR /&gt;%SYSTEM-F-ACCVIO&lt;BR /&gt;%SYSTEM-F-MEDOFL, medium is offline&lt;BR /&gt;%SYSTEM-F-DEVNOTMOUNT, device is not mounted&lt;BR /&gt;&lt;BR /&gt;Anyone have any others errors or other type backup messages, like next tape needed, or please mount tape etc...</description>
      <pubDate>Thu, 22 Apr 2004 11:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256784#M62567</guid>
      <dc:creator>Victor Mendham</dc:creator>
      <dc:date>2004-04-22T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256785#M62568</link>
      <description>Hello Victor,&lt;BR /&gt;&lt;BR /&gt;how about the following&lt;BR /&gt;&lt;BR /&gt;%BACKUP-E-FATALERR, fatal error on _$2$MGA3:[]xxxxxxxx.BCK;&lt;BR /&gt;-SYSTEM-F-PARITY, parity error&lt;BR /&gt;%BACKUP-I-OPERSPEC&lt;BR /&gt;%BACKUP-I-OPERASSIST, operator assistance has been requested&lt;BR /&gt;%BACKUP-I-OPREPLY, operator reply is "QUIT"&lt;BR /&gt;%BACKUP-F-ABORT, operator requested abort on fatal error&lt;BR /&gt;&lt;BR /&gt;Fortunatly does not happen often, but just had one of these yesterday ;-)&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Thu, 22 Apr 2004 11:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256785#M62568</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-04-22T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256786#M62569</link>
      <description>Thanks, I have given you points, Thanks again.</description>
      <pubDate>Thu, 22 Apr 2004 12:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256786#M62569</guid>
      <dc:creator>Victor Mendham</dc:creator>
      <dc:date>2004-04-22T12:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256787#M62570</link>
      <description>Some more&lt;BR /&gt;&lt;BR /&gt;%BACKUP-W-EXLABEER, volume label processing failed because volume TAPE4 is out of order, Volume label TAPE1 was expected specify option (QUIT, NEW tape, OVERWRITE tape, USE loaded tape)&lt;BR /&gt;&lt;BR /&gt;%BACKUP-F-WRITEERRS, excessive error rate writing VOL3&lt;BR /&gt;&lt;BR /&gt;%BACKUP-I-SPECIFY, specify option (CONTINUE, RESTART, QUIT)&lt;BR /&gt;&lt;BR /&gt;%BACKUP-W-MOUNTERR, volume 1 on _SODAK$MUA0 was not mounted because&lt;BR /&gt;its label does not match the one requested&lt;BR /&gt;&lt;BR /&gt;Mohamed</description>
      <pubDate>Thu, 22 Apr 2004 12:57:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256787#M62570</guid>
      <dc:creator>Mohamed  K Ahmed</dc:creator>
      <dc:date>2004-04-22T12:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256788#M62571</link>
      <description>Well, Victor&lt;BR /&gt;&lt;BR /&gt;there _MAY_ be a more generic approach;&lt;BR /&gt;&lt;BR /&gt;There is a file SYS$HELP:MSGHLP$LIBRARY:MSGHLP$DATA&lt;BR /&gt;&lt;BR /&gt;This is the file from which HELP/MESSAGE takes it's info.&lt;BR /&gt;&lt;BR /&gt;I haven't found a wildcard HELP command that takes out the BACKUP related messages (not been seeking very thorough though), but I trust that now you know WHERE to look, you will be able to extract the relevant data.&lt;BR /&gt;As far as I know, this SHOULD also be the closest you will get to completeness.&lt;BR /&gt;&lt;BR /&gt;Well, I'll leave you to do the dirty work yourself!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Success&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 22 Apr 2004 14:36:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256788#M62571</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-04-22T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256789#M62572</link>
      <description>You can use help to get all the errors with&lt;BR /&gt;a backup facility -&lt;BR /&gt;&lt;BR /&gt;$ help/message/facility=backup&lt;BR /&gt;&lt;BR /&gt;$ help help/message ! for other options&lt;BR /&gt;&lt;BR /&gt;Mark Hopkins</description>
      <pubDate>Thu, 22 Apr 2004 15:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256789#M62572</guid>
      <dc:creator>Mark Hopkins_5</dc:creator>
      <dc:date>2004-04-22T15:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256790#M62573</link>
      <description>I am only concerned with Fatal type errors, not warnings.&lt;BR /&gt;&lt;BR /&gt;This monitoring will page at 02:00, so I would rather not get paged on a warning item like - doing a verify and the file is different. But rather on a fatal, where the backup actually died.&lt;BR /&gt;&lt;BR /&gt;I can script a simple search batch to run during the day for warning messages from logs.&lt;BR /&gt;&lt;BR /&gt;Is there a way to use the help/message for fatal errors?&lt;BR /&gt;&lt;BR /&gt;Vic...</description>
      <pubDate>Thu, 22 Apr 2004 15:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256790#M62573</guid>
      <dc:creator>Victor Mendham</dc:creator>
      <dc:date>2004-04-22T15:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256791#M62574</link>
      <description>Vic,&lt;BR /&gt;&lt;BR /&gt;  If you want to determine the severity of the completion status, just look at the severity bits - they're the low 3 bits of the status value (see Chapter 6 of "OpenVMS Calling Standard" for complete details):&lt;BR /&gt;&lt;BR /&gt;$ some-command ! could be BACKUP&lt;BR /&gt;$ STATUS=$STATUS&lt;BR /&gt;$ SEVERITY=STATUS.AND.7&lt;BR /&gt;&lt;BR /&gt;  There is also the DCL symbol $SEVERITY, but it and $STATUS get set after every command, so if you want to capture the full status you need to save $STATUS immediately after the command of interest.&lt;BR /&gt;&lt;BR /&gt;  Severity values are:&lt;BR /&gt;&lt;BR /&gt;0 = Warning&lt;BR /&gt;1 = Success&lt;BR /&gt;2 = Error&lt;BR /&gt;3 = Informational&lt;BR /&gt;4 = Fatal&lt;BR /&gt;5,6,7 undefined&lt;BR /&gt;&lt;BR /&gt;  Using severity is a much more reliable way of checking for fatal conditions than attempting to enumerate all errors (the list is potentially large and subject to change).&lt;BR /&gt;&lt;BR /&gt;  However, if you really want to do that, there are several ways. The simplest is to consult a source listing. But, if you don't have access to one, you can use the structure of condition values to help. A status value has several fields. &lt;BR /&gt;&lt;BR /&gt;bit 0 is success/failure&lt;BR /&gt;bits 0-2 are severity&lt;BR /&gt;bits 3-15 are the message number&lt;BR /&gt;bits 16-27 are the facility number&lt;BR /&gt;bits 28-31 are control flags&lt;BR /&gt;&lt;BR /&gt;So, looking at the status value for any BACKUP error, you can determine the facility code for BACKUP is %X00A30000. You can use this to determine all FATAL errors for BACKUP using F$MESSAGE: &lt;BR /&gt;&lt;BR /&gt;$ msg=%XA30004 ! First possible fatal error&lt;BR /&gt;$ loop: WRITE SYS$OUTPUT F$MESSAGE(msg)&lt;BR /&gt;$   msg=msg+8&lt;BR /&gt;$ IF msg.LT.%XA3FFFF THEN GOTO loop &lt;BR /&gt;&lt;BR /&gt;Pipe the output into SEARCH to remove all the "NOMSG" values. I get 923 possibilities on OpenVMS V7.2-2 - you won't get all of them in practice, but hopefully it illustrates why enumeration is not a good solution to your problem!</description>
      <pubDate>Thu, 22 Apr 2004 16:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256791#M62574</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-04-22T16:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256792#M62575</link>
      <description>Hi Victor,&lt;BR /&gt;%X107501F4 %INIT-F-PARITY, parity error&lt;BR /&gt;%X1075008C %INIT-F-DRVERR, fatal drive error&lt;BR /&gt;%X00720254 %MOUNT-F-VOLINV, volume is not software enabled&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt;@Antoniov&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Apr 2004 02:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256792#M62575</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-04-23T02:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256793#M62576</link>
      <description>Vic,&lt;BR /&gt;&lt;BR /&gt;I would follow John suggestion. As he said - and like you may deduct from Antonio's last posting - scanning an enumeration is no good idea. Just severity would be enough to start with. However: KEEP the original status and it's meaning, you will want to know what happens. If possible - put it on the pager.&lt;BR /&gt;If the proces is critical, I would suggest to be informed not only in case of problems, but also if the job&lt;BR /&gt;- hasn't started at all&lt;BR /&gt;- isn't finished within a reasoable time&lt;BR /&gt;- has run successfully (Well, not really required but just for your ease-of-mind)&lt;BR /&gt;But you may have this implemented already ;-)&lt;BR /&gt;Willem</description>
      <pubDate>Fri, 23 Apr 2004 03:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256793#M62576</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-04-23T03:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256794#M62577</link>
      <description>Well Victor,&lt;BR /&gt;&lt;BR /&gt;if you are really EXCLUSIVELY interested in FATAL errors, then your original idea might not be that bad, but (as shown by Antoniov) you can not limit yourself to BACKUP errors.&lt;BR /&gt;&lt;BR /&gt;$ SEARCH &lt;LOGFILE&gt; "%", "-F" /EXACT/MATCH=AND&lt;BR /&gt;&lt;BR /&gt;But then, is the idea of Willem not preferable?&lt;BR /&gt;&lt;BR /&gt;Incluse $ ON SEVERE_ERROR THEN &lt;ALARMPROCEDURE&gt;&lt;BR /&gt;&lt;BR /&gt;Then you can even control at which parts of the backup-procedures warrant alarming and which don't.&lt;BR /&gt;At our site &lt;ALARMPROCEDURE&gt; is &lt;CALL pager="" with="" backup-fatal="" message=""&gt;, we rarely get paged, but IF it is needed, we ARE called.&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;/CALL&gt;&lt;/ALARMPROCEDURE&gt;&lt;/ALARMPROCEDURE&gt;&lt;/LOGFILE&gt;</description>
      <pubDate>Fri, 23 Apr 2004 08:45:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256794#M62577</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-04-23T08:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can everyone post an backup error message?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256795#M62578</link>
      <description>Many Thanks to all. This is what I will probably be asking BMC Patrol to monitor.&lt;BR /&gt;Some of these will overlap, but that is ok.&lt;BR /&gt;&lt;BR /&gt;%SYSTEM-F-ACCVIO&lt;BR /&gt;%SYSTEM-F-MEDOFL, medium is offline&lt;BR /&gt;%SYSTEM-F-DEVNOTMOUNT, device is not mounted&lt;BR /&gt;%BACKUP-E-FATALERR, fatal error &lt;BR /&gt;%SYSTEM-F-PARITY, parity error&lt;BR /&gt;%BACKUP-I-OPERSPEC&lt;BR /&gt;%BACKUP-I-OPERASSIST, operator assistance &lt;BR /&gt;%BACKUP-I-OPREPLY, operator reply is "QUIT"&lt;BR /&gt;%BACKUP-F-ABORT, operator requested abort&lt;BR /&gt;%BACKUP-W-EXLABEER, volume &lt;BR /&gt;%BACKUP-F-WRITEERRS,&lt;BR /&gt;%BACKUP-I-SPECIFY&lt;BR /&gt;%INIT-F-PARITY, parity error&lt;BR /&gt;%INIT-F-DRVERR, fatal drive error&lt;BR /&gt;%MOUNT-F-VOLINV, volume is not software &lt;BR /&gt;&lt;BR /&gt;Note, I already have monitoring setup inside the cmd file, which works fairly well to e-mail as well as local mail on the server. What I will be doing here is searching the logfile afterwards &amp;amp; sending to a central alert system.</description>
      <pubDate>Fri, 23 Apr 2004 09:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/can-everyone-post-an-backup-error-message/m-p/3256795#M62578</guid>
      <dc:creator>Victor Mendham</dc:creator>
      <dc:date>2004-04-23T09:41:27Z</dc:date>
    </item>
  </channel>
</rss>

