<?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: RMS-F-CHK, bucket format check failed for VBN = nnn in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550546#M5718</link>
    <description>Welcome to the ITRC OpenVMS forum be sure to check out:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?&lt;/A&gt;&lt;BR /&gt;and at some point:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; You have a corrupted file, at least one broken bucket at VBN 19889.&lt;BR /&gt;&lt;BR /&gt;Restore a backup ASAP!&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; So I use ana/fdl, it's okay.&lt;BR /&gt;&lt;BR /&gt;Not it is not! Errors are reported.&lt;BR /&gt;Also, this file appears overdue for serious re-organization/tunings. It is probably totally fragments. Just do a anal/rms/fdl/stat on it, edit/fdl/nointer and convert/stat/nosort/fdl...&lt;BR /&gt;&lt;BR /&gt;Or convert with allocation=120000, extent=24000 and bucketsize=24 once it is operational again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All standard tools will come to a grinding halt when getting to that bucket. As Willem suggest, you can attempt to read around it. Convert up to the crash point to sequential.&lt;BR /&gt;&lt;BR /&gt;Look at the key for the last few records, 'guess' the key for a few records further and try to read from there (with cobol/dcl/basic, whatever tool.).&lt;BR /&gt;The restored backup will often help finding a good next key value, and sometimes can tell you what the broken bucket should look like.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check out my RMS_TUNING.PPT presentation at:&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware60/rms_tools/" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware60/rms_tools/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is some info on correcting broken files on page 40 and onwards. The reported corruption (check byte), may be easy to fix, if it is just that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In that directory you will find other tools:&lt;BR /&gt;- zap to help flip bits in corrupted files.&lt;BR /&gt;- bonus/buckets.c to get key/bucket data from corrupted files.&lt;BR /&gt;- bonus/indexed_file_patch.bas to generate patch file automatically!&lt;BR /&gt;&lt;BR /&gt;You may also want to consider involving support as a payed-for service if the data is really critical and if/when you need to try to explain the possible causes.&lt;BR /&gt;&lt;BR /&gt;Good luck! (you'll need some).&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
    <pubDate>Tue, 24 May 2005 10:17:03 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2005-05-24T10:17:03Z</dc:date>
    <item>
      <title>RMS-F-CHK, bucket format check failed for VBN = nnn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550541#M5713</link>
      <description>How To Recover From a RMS-F-CHK On An Indexed File. &lt;BR /&gt;when I use command type filename, this error will occur. So I use ana/fdl, it's okay. I got filename.fdl But wehn I convert/fdl, it has the same error and same VBN.&lt;BR /&gt;(OpenVMS/VAX 6.2)</description>
      <pubDate>Tue, 24 May 2005 06:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550541#M5713</guid>
      <dc:creator>waikamon charoenthai</dc:creator>
      <dc:date>2005-05-24T06:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: RMS-F-CHK, bucket format check failed for VBN = nnn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550542#M5714</link>
      <description>Can you please post the exact details of the analyze&lt;BR /&gt;command?&lt;BR /&gt;Depending on where the error occurs will determine&lt;BR /&gt;the possible recovery options.&lt;BR /&gt;Do you have a backup of the file?&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 24 May 2005 06:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550542#M5714</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-05-24T06:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: RMS-F-CHK, bucket format check failed for VBN = nnn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550543#M5715</link>
      <description>conv/exception=exception.txt/stat corrupted_file new_file then &lt;BR /&gt;conv/fdl=my_fdl new_file new_with_less_records&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;&lt;BR /&gt;you have ZAP on the freeware if you know how to handle it, when working on damaged indexed files&lt;BR /&gt;&lt;BR /&gt;see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware60/rms_tools/" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware60/rms_tools/&lt;/A&gt;</description>
      <pubDate>Tue, 24 May 2005 06:47:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550543#M5715</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2005-05-24T06:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: RMS-F-CHK, bucket format check failed for VBN = nnn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550544#M5716</link>
      <description>Actually, I got the error when I used these commands.&lt;BR /&gt;$ type athfile.dat&lt;BR /&gt;%TYPE-W-READERR, error reading ATHFILE.DAT;1 -RMS-F-CHK, bucket format check failed for VBN = 19889&lt;BR /&gt;&lt;BR /&gt;$ sear athfile B381340&lt;BR /&gt;%SEARCH-W-READERR, error reading ATHFILE.DAT;1 -RMS-F-CHK, bucket &lt;BR /&gt;format check failed for VBN = 19889 %SEARCH-I-NOMATCHES, no strings matched&lt;BR /&gt;&lt;BR /&gt;So I tried to use these commans&lt;BR /&gt;$ ana/fdl=ath_fdl athfile.dat&lt;BR /&gt;  So I got ath_fdl.fdl&lt;BR /&gt;$ convert/fdl=ath_fdl athfile.dat outputfile&lt;BR /&gt; So I got the error "-RMS-F-CHK, bucket format check failed for VBN = 19889"&lt;BR /&gt;&lt;BR /&gt;More detail of ana/rms/stat, please see in attachment file&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 May 2005 07:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550544#M5716</guid>
      <dc:creator>waikamon charoenthai</dc:creator>
      <dc:date>2005-05-24T07:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: RMS-F-CHK, bucket format check failed for VBN = nnn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550545#M5717</link>
      <description>Try ana/rms/interactive (see help) and drill down where is happens. Given TYPE and CONVERT err, I suspect a problem in the primary key. Can you access the file using EDIT and read on - probably not, but it's always good the know where it's going wrong. If you can, add (and delete) a character ans save the result (will besequential), after that, convert it using the FDL you created.&lt;BR /&gt;&lt;BR /&gt;If that fails, you can try to get around it, by reading the file by a secondary key and write the line to a good one&lt;BR /&gt;In general (you'll have to elaborate):&lt;BR /&gt;&lt;BR /&gt;$ ANALYZE/RMS/FDL/OUT=f.fdl &lt;CORRUPTED file=""&gt;&lt;BR /&gt;$ CREATE/FDL=f.fdl &lt;NEWFILE&gt;&lt;BR /&gt;$ OPEN /READ/END=ENDLOOP IN &lt;CURRUPTED file=""&gt;&lt;BR /&gt;$ OPEN/WRITE OUT &lt;NEWFILE&gt;&lt;BR /&gt;$LOOP:&lt;BR /&gt;$ READ/INDEX=1 IN LINE&lt;BR /&gt;$ WRITE OUT LINE&lt;BR /&gt;$ GOTO LOOP&lt;BR /&gt;$ENDLOOP:&lt;BR /&gt;$ CLOSE OUT&lt;BR /&gt;$ CLOSE IN&lt;BR /&gt;&lt;BR /&gt;Eventually, you may create OUT as a sequential file, to be converted afterwards.&lt;BR /&gt;&lt;BR /&gt;In case you have just the primary key, enhance to:&lt;BR /&gt;&lt;BR /&gt;$ S=1    ! assume success&lt;BR /&gt;$ ANALYZE/RMS/FDL/OUT=f.fdl &lt;CORRUPTED file=""&gt;&lt;BR /&gt;$ CREATE/FDL=f.fdl &lt;NEWFILE&gt;&lt;BR /&gt;$ OPEN /READ/END=ENDLOOP IN &lt;CURRUPTED file=""&gt;&lt;BR /&gt;$ OPEN/WRITE OUT &lt;NEWFILE&gt;&lt;BR /&gt;$LOOP:&lt;BR /&gt;$ READ/ERROR=READERR IN LINE&lt;BR /&gt;$REENTER:&lt;BR /&gt;$ LASTKEY = F$EXTRACT (&lt;KEYOFFSET&gt;, &lt;KEYOFFSET&gt;&lt;/KEYOFFSET&gt;$ WRITE OUT LINE&lt;BR /&gt;$ GOTO LOOP&lt;BR /&gt;$ENDLOOP:&lt;BR /&gt;$ CLOSE OUT&lt;BR /&gt;$ CLOSE IN&lt;BR /&gt;$ EXIT S&lt;BR /&gt;$READERR:&lt;BR /&gt;$ IF $S .eq. RMS-F-CHK  ! you'll have to find out this value...&lt;BR /&gt;$ THEN&lt;BR /&gt;$    ! calculate next valid key. At elast LASTKEY + 2 (since at least +1 failed)&lt;BR /&gt;$     RDKEY = LASTKEY "+ 1" ! Next value!&lt;BR /&gt;$   READ/ERROR=READERR/KEY=RDKEY IN LINE&lt;BR /&gt;$   GOTO REENTER&lt;BR /&gt;$ ELSE&lt;BR /&gt;$ ! some other error means trouble!&lt;BR /&gt;$ ! take action...&lt;BR /&gt;$   s=$S&lt;BR /&gt;$ GOTO ENDLOOP&lt;BR /&gt;$ ENDIF&lt;BR /&gt;&lt;BR /&gt;(need ot elaborate as well, just an example)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Willem&lt;/KEYOFFSET&gt;&lt;/NEWFILE&gt;&lt;/CURRUPTED&gt;&lt;/NEWFILE&gt;&lt;/CORRUPTED&gt;&lt;/NEWFILE&gt;&lt;/CURRUPTED&gt;&lt;/NEWFILE&gt;&lt;/CORRUPTED&gt;</description>
      <pubDate>Tue, 24 May 2005 07:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550545#M5717</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-05-24T07:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: RMS-F-CHK, bucket format check failed for VBN = nnn</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550546#M5718</link>
      <description>Welcome to the ITRC OpenVMS forum be sure to check out:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?&lt;/A&gt;&lt;BR /&gt;and at some point:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; You have a corrupted file, at least one broken bucket at VBN 19889.&lt;BR /&gt;&lt;BR /&gt;Restore a backup ASAP!&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; So I use ana/fdl, it's okay.&lt;BR /&gt;&lt;BR /&gt;Not it is not! Errors are reported.&lt;BR /&gt;Also, this file appears overdue for serious re-organization/tunings. It is probably totally fragments. Just do a anal/rms/fdl/stat on it, edit/fdl/nointer and convert/stat/nosort/fdl...&lt;BR /&gt;&lt;BR /&gt;Or convert with allocation=120000, extent=24000 and bucketsize=24 once it is operational again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All standard tools will come to a grinding halt when getting to that bucket. As Willem suggest, you can attempt to read around it. Convert up to the crash point to sequential.&lt;BR /&gt;&lt;BR /&gt;Look at the key for the last few records, 'guess' the key for a few records further and try to read from there (with cobol/dcl/basic, whatever tool.).&lt;BR /&gt;The restored backup will often help finding a good next key value, and sometimes can tell you what the broken bucket should look like.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check out my RMS_TUNING.PPT presentation at:&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware60/rms_tools/" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware60/rms_tools/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is some info on correcting broken files on page 40 and onwards. The reported corruption (check byte), may be easy to fix, if it is just that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In that directory you will find other tools:&lt;BR /&gt;- zap to help flip bits in corrupted files.&lt;BR /&gt;- bonus/buckets.c to get key/bucket data from corrupted files.&lt;BR /&gt;- bonus/indexed_file_patch.bas to generate patch file automatically!&lt;BR /&gt;&lt;BR /&gt;You may also want to consider involving support as a payed-for service if the data is really critical and if/when you need to try to explain the possible causes.&lt;BR /&gt;&lt;BR /&gt;Good luck! (you'll need some).&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 May 2005 10:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rms-f-chk-bucket-format-check-failed-for-vbn-nnn/m-p/3550546#M5718</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-05-24T10:17:03Z</dc:date>
    </item>
  </channel>
</rss>

