<?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: Recording pass error in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856244#M67449</link>
    <description>&lt;BR /&gt;A couple of suggestions.&lt;BR /&gt;&lt;BR /&gt;First are you getting errors, search the log file for occurrences of "-F-","-W-" and "-E-".&lt;BR /&gt;&lt;BR /&gt;Differentiate  errors.  At the top of the command file add:&lt;BR /&gt;&lt;BR /&gt;$ SET NOON&lt;BR /&gt;$ ON SEVERE THEN GOTO SEVERE_CONTROL&lt;BR /&gt;$ ON ERROR THEN GOTO ERROR_CONTROL&lt;BR /&gt;$ ON WARNING THEN CONTINUE&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;Check for the correct syntax of the above, I'm unable to test right at the moment.&lt;BR /&gt; &lt;BR /&gt;The important point is that a BACKUP/IGNORE=INTERLOCK will generate WARNING messages regarding open files which will trigger a blind ON ERROR statement.  &lt;BR /&gt;&lt;BR /&gt;Also the sequence of the ON ... statements is critical due to the status word bit mask.&lt;BR /&gt;&lt;BR /&gt;Add a label and appropriate output for each error level to determine the cause.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Jul 2004 00:28:41 GMT</pubDate>
    <dc:creator>James C. Nix</dc:creator>
    <dc:date>2004-07-13T00:28:41Z</dc:date>
    <item>
      <title>Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856240#M67445</link>
      <description>Lately I'm expiriencing a strange error :&lt;BR /&gt;When backing-up one of my disks, the backup goes well, and when it gets to the recording pass stage it goes to to the label marked as "on error goto"... for some reason I can't put my finger on.&lt;BR /&gt;The backup command is as follows : &lt;BR /&gt;$ ON ERROR THEN GOTO ERROR&lt;BR /&gt;...&lt;BR /&gt;$ BACKUP/NOREW/NOASS/IGNORE=(INTER,LABEL)/LOG/REC/MEDIA=COMPA/block=65535 -&lt;BR /&gt;  D0:[VAXDSM...]*.* MKA500:D0.BCK/SAVE&lt;BR /&gt;Then after backing-up all files it goes :&lt;BR /&gt;%BACKUP-I-STARTRECORD, starting backup date recording pass&lt;BR /&gt;$ ERROR:&lt;BR /&gt;&lt;BR /&gt;I tried running analyze/disk/repair on that disk but it wouldn't help.&lt;BR /&gt;&lt;BR /&gt;Please advice.</description>
      <pubDate>Mon, 12 Jul 2004 03:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856240#M67445</guid>
      <dc:creator>Alon Jacob</dc:creator>
      <dc:date>2004-07-12T03:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856241#M67446</link>
      <description>at the ERROR label on yr DCL save $STATUS to another symbol then display the corresponding message e.g.&lt;BR /&gt;&lt;BR /&gt;$ERROR:&lt;BR /&gt;$ ss = $STATUS&lt;BR /&gt;$ WRITE SYS$OUTPUT "Error ''F$MESSAGE(ss)'"&lt;BR /&gt;&lt;BR /&gt;This may give you a clue. Are there any other commands executed after the backup and before the jump to ERROR?</description>
      <pubDate>Mon, 12 Jul 2004 03:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856241#M67446</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-12T03:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856242#M67447</link>
      <description>I would add a /verify to your backup command. The drawback is that your backup will last longer. The advantage is that you will IMMEDIATELY know if you can hope to recover from this tape or not. It is a bad surprise to know 2 years later that you do not have a valid backup. And I would remove /ignore=inter. Of course, this means no process accesses your files.</description>
      <pubDate>Mon, 12 Jul 2004 03:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856242#M67447</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2004-07-12T03:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856243#M67448</link>
      <description>Hello Ian &amp;amp; labadie.&lt;BR /&gt;&lt;BR /&gt;Unfortunatly I cannot add the /verify to my backup command because the backup will take too long.&lt;BR /&gt;However I will try to use the $status veriable and promise to keep you informed.&lt;BR /&gt;&lt;BR /&gt;Thank-you all very much.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jul 2004 04:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856243#M67448</guid>
      <dc:creator>Alon Jacob</dc:creator>
      <dc:date>2004-07-12T04:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856244#M67449</link>
      <description>&lt;BR /&gt;A couple of suggestions.&lt;BR /&gt;&lt;BR /&gt;First are you getting errors, search the log file for occurrences of "-F-","-W-" and "-E-".&lt;BR /&gt;&lt;BR /&gt;Differentiate  errors.  At the top of the command file add:&lt;BR /&gt;&lt;BR /&gt;$ SET NOON&lt;BR /&gt;$ ON SEVERE THEN GOTO SEVERE_CONTROL&lt;BR /&gt;$ ON ERROR THEN GOTO ERROR_CONTROL&lt;BR /&gt;$ ON WARNING THEN CONTINUE&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;Check for the correct syntax of the above, I'm unable to test right at the moment.&lt;BR /&gt; &lt;BR /&gt;The important point is that a BACKUP/IGNORE=INTERLOCK will generate WARNING messages regarding open files which will trigger a blind ON ERROR statement.  &lt;BR /&gt;&lt;BR /&gt;Also the sequence of the ON ... statements is critical due to the status word bit mask.&lt;BR /&gt;&lt;BR /&gt;Add a label and appropriate output for each error level to determine the cause.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Jul 2004 00:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856244#M67449</guid>
      <dc:creator>James C. Nix</dc:creator>
      <dc:date>2004-07-13T00:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856245#M67450</link>
      <description>Last time I checked, only the last ON clause was active. If you want to branch depending on the severity you must SET NOON before and then check the $SEVERITY symbol immediately after the BACKUP.</description>
      <pubDate>Tue, 13 Jul 2004 01:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856245#M67450</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-07-13T01:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856246#M67451</link>
      <description>Hello IAN.&lt;BR /&gt;&lt;BR /&gt;I tried your idea checking the $status symbol and it's related message, and I got this : "%BACKUP-E-NOMSG, Message number 10A3800A".&lt;BR /&gt;Any ideas?</description>
      <pubDate>Tue, 13 Jul 2004 02:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856246#M67451</guid>
      <dc:creator>Alon Jacob</dc:creator>
      <dc:date>2004-07-13T02:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856247#M67452</link>
      <description>$ set message sys$message:sysmgtmsg&lt;BR /&gt;$ write sys$output f$message(%x10A3800A)&lt;BR /&gt;%BACKUP-E-OPENIN, error opening !AS as input&lt;BR /&gt;$</description>
      <pubDate>Tue, 13 Jul 2004 02:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856247#M67452</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2004-07-13T02:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856248#M67453</link>
      <description>get a call to a routine similar to the following, which loops in sys$message &lt;BR /&gt;&lt;BR /&gt;$ MESSAGE_FLAGS = F$ENVIRONMENT("MESSAGE")&lt;BR /&gt;$ ! Recuperer P1 s'il n'est pas defini&lt;BR /&gt;$ IF P1 .EQS. "" THEN INQUIRE P1 "Numero de l'erreur VMS a chercher "&lt;BR /&gt;$ IF P1 .EQS. "" THEN EXIT&lt;BR /&gt;$ ! Par defaut, le numero est donne en hexa&lt;BR /&gt;$ ERROR = %X'P1'&lt;BR /&gt;$ ! Voir si c'est pas dans SYSMSG&lt;BR /&gt;$ FILE = ""&lt;BR /&gt;$ SET MESSAGE/DELETE&lt;BR /&gt;$ GOSUB MESSAGE&lt;BR /&gt;$ ! Mapper un par un les fichiers de SYS$MESSAGE&lt;BR /&gt;$LOOP:&lt;BR /&gt;$ FILE = F$SEARCH("SYS$MESSAGE:*.EXE")&lt;BR /&gt;$ IF FILE .EQS. "" THEN GOTO EDIT&lt;BR /&gt;$ SET MESSAGE/NOFACIL/NOSEVER/NOTEXT/NOIDENT&lt;BR /&gt;$ SET MESSAGE 'FILE&lt;BR /&gt;$ SET MESSAGE 'MESSAGE_FLAGS'&lt;BR /&gt;$ GOSUB MESSAGE&lt;BR /&gt;$ GOTO LOOP&lt;BR /&gt;$ ! On regarde si le message d'erreur est trouve&lt;BR /&gt;$MESSAGE:&lt;BR /&gt;$ X = F$MESSAGE(ERROR)&lt;BR /&gt;$ IF F$LOCATE("Message number",X) .NES. F$LENGHT(X) THEN RETURN&lt;BR /&gt;$ ! Editer l'erreur, son libelle et le nom du fichier de message&lt;BR /&gt;$EDIT:&lt;BR /&gt;$ IF FILE .NES. "" THEN FILE = " located in ''FILE'"&lt;BR /&gt;$ WRITE SYS$OUTPUT F$FAO("Error !XL (%D!SL)!AS!/!AS",ERROR,ERROR,FILE,X)&lt;BR /&gt;$ EXIT&lt;BR /&gt;$</description>
      <pubDate>Tue, 13 Jul 2004 03:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856248#M67453</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2004-07-13T03:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856249#M67454</link>
      <description>I tried all your good advices, and I came to a conclusion that one of the file's header cannot be accessed to write its backup record.&lt;BR /&gt;The big question is - how do I find which one?&lt;BR /&gt;And another interesting fact - when I backup the exact same files to a save-set on a disk it comes out fine!</description>
      <pubDate>Mon, 19 Jul 2004 05:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856249#M67454</guid>
      <dc:creator>Alon Jacob</dc:creator>
      <dc:date>2004-07-19T05:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856250#M67455</link>
      <description>"when I backup the exact same files to a save-set on a disk it comes out fine!"&lt;BR /&gt;&lt;BR /&gt;This may be a timing issue - the backup to disk proceeds faster.</description>
      <pubDate>Mon, 19 Jul 2004 06:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856250#M67455</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-19T06:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856251#M67456</link>
      <description>Did you find out why it worked on disk ?&lt;BR /&gt;&lt;BR /&gt;If I remember correctly, backup exits with the heaviest error it encountered (e.g. -e- error opening because the file is deleted between you started the backup and the moment backup read the file).&lt;BR /&gt;The recording may go wrong because in the mean time the file no longer exists.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 29 Jul 2004 07:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856251#M67456</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-29T07:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856252#M67457</link>
      <description>Hello Wim.&lt;BR /&gt;&lt;BR /&gt;I re-checked backing-up on disk, and it comes-out the same, which makes me think the problem is not about a file which is deleted during backup.&lt;BR /&gt;&lt;BR /&gt;I tried to exclude the sub-folders in the backup command, and then it works fine.&lt;BR /&gt;&lt;BR /&gt;After retrning the sub-folders (using ...) it came right back.</description>
      <pubDate>Sun, 01 Aug 2004 09:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856252#M67457</guid>
      <dc:creator>Alon Jacob</dc:creator>
      <dc:date>2004-08-01T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856253#M67458</link>
      <description>Hi,&lt;BR /&gt;may be some file opene by read and write. If you type SH DEV/FILE see some file in folder you excluded?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Aug 2004 04:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856253#M67458</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-08-02T04:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856254#M67459</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It seems that the problem file is in one of yours subdirectories.&lt;BR /&gt;&lt;BR /&gt;What abbout your privileges? From the help backup:&lt;BR /&gt;&lt;BR /&gt;To use the /RECORD qualifier you must either own the file or&lt;BR /&gt;        have SYSPRV privileges.&lt;BR /&gt;&lt;BR /&gt;Check the privileges and file protection.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 02 Aug 2004 04:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856254#M67459</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-02T04:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856255#M67460</link>
      <description>Alon,&lt;BR /&gt;&lt;BR /&gt;does your Backup process have READALL privilege?&lt;BR /&gt;&lt;BR /&gt;From the "Guide to System Security", Appendix A.  Readall privilege:&lt;BR /&gt;"READALL (...) allows updating of such backup-related file characteristics as the backup date".&lt;BR /&gt;Looks like you might be missing just that. &lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Aug 2004 06:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856255#M67460</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-02T06:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856256#M67461</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;An idea how to find out the file:&lt;BR /&gt;&lt;BR /&gt;$ DIRECTORY D0:[VAXDSM...]*.*/DATE=BACKUP&lt;BR /&gt;&lt;BR /&gt;and search for the &lt;NO backup="" recorded=""&gt; (You can use the PIPE command). If this dont give you the result (There was a sucessful backup record in the past) you can try this:&lt;BR /&gt;&lt;BR /&gt;$ DIRECTORY D0:[VAXDSM...]*.* /OUTPUT=BEFORE.TXT&lt;BR /&gt;$ DATE=F$TIME()&lt;BR /&gt;$ BACKUP ....&lt;BR /&gt;$ DIRECTORY D0:[VAXDSM...]*.* /SINCE='DATE' -&lt;BR /&gt;  /BACKUP /OUTPUT=AFTER.TXT&lt;BR /&gt;$ DIFFERENCES BEFORE.TXT AFTER.TXT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe /COLUMNS=1 qualifier to the DIRECTORY will be more appropriate.&lt;BR /&gt;&lt;BR /&gt;Bojan&lt;/NO&gt;</description>
      <pubDate>Mon, 02 Aug 2004 06:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856256#M67461</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-02T06:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856257#M67462</link>
      <description>Hello Bojan.&lt;BR /&gt;&lt;BR /&gt;It looks like your 2 ideas put me on the right track. I found some files (using dir/date=backup) that are owned by SYSTEM account, when the backup is done using a different account that might not have the SYSPRV privilege.&lt;BR /&gt;&lt;BR /&gt;I'll change it's privileges and let you know tomorrow. I guess you have a perfect "10" coming your way...</description>
      <pubDate>Mon, 02 Aug 2004 06:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856257#M67462</guid>
      <dc:creator>Alon Jacob</dc:creator>
      <dc:date>2004-08-02T06:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856258#M67463</link>
      <description>&lt;BR /&gt;Alon,&lt;BR /&gt;&lt;BR /&gt;please re-check the info on the READALL privilege!!&lt;BR /&gt;&lt;BR /&gt;SYSPRV might be both too much &amp;amp; not enough!&lt;BR /&gt;&lt;BR /&gt;SYSPRV gives MUCH more rights than needed by Backup (eg, modifying authorisations), but, if you have any file protections that have NO system:W allowed, than SYSPRV is NOT enough. Also, files NOT opened share can NOT be modified with SYSPRV, but READALL will do the trick.&lt;BR /&gt; READALL is designed specifically for THIS type of functions (during RESTORE it also allows ANY needed WRITE actions regardless of protection).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Mon, 02 Aug 2004 07:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856258#M67463</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2004-08-02T07:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Recording pass error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856259#M67464</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I agree with Jan 100% !!!&lt;BR /&gt;My first previous post was only checking if you have problems with privileges and the line:&lt;BR /&gt;------------&lt;BR /&gt;To use the /RECORD qualifier you must either own the file or&lt;BR /&gt;have SYSPRV privileges.&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;was literaly copied from the $ HELP BACKUP /RECORD.&lt;BR /&gt;&lt;BR /&gt;So use READALL privilege or adjust file protection! The READALL privilege is the best solution for operators doing backup.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Mon, 02 Aug 2004 08:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/recording-pass-error/m-p/4856259#M67464</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-08-02T08:01:29Z</dc:date>
    </item>
  </channel>
</rss>

