<?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: I have file whose file attribute Global buffer count set as 3217014719. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129689#M28595</link>
    <description>&lt;P&gt;Once again thanks for all your help.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2013 15:15:37 GMT</pubDate>
    <dc:creator>allin-in-one</dc:creator>
    <dc:date>2013-07-09T15:15:37Z</dc:date>
    <item>
      <title>I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129533#M28587</link>
      <description>&lt;P&gt;I have file whose file attribute Global buffer count set as 3217014719. If want to create file using sys$qio with similar attribute getting error in IOSB as 20 (i.e. bad parameter value).&lt;/P&gt;&lt;P&gt;Please let me know how to create file with below properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GLSSRPT.FPC;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File ID:&amp;nbsp; (15317,1,0)&lt;BR /&gt;Size:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3686/3696&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner:&amp;nbsp;&amp;nbsp;&amp;nbsp; [SYSTEM]&lt;BR /&gt;Created:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3-JUN-2013 15:05:59.81&lt;BR /&gt;Revised:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3-JUN-2013 15:06:03.28 (1)&lt;BR /&gt;Expires:&amp;nbsp;&amp;nbsp;&amp;nbsp; 13-JUN-2013 15:06:03.28&lt;BR /&gt;Backup:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;No backup recorded&amp;gt;&lt;BR /&gt;Effective:&amp;nbsp; &amp;lt;None specified&amp;gt;&lt;BR /&gt;Recording:&amp;nbsp; &amp;lt;None specified&amp;gt;&lt;BR /&gt;Accessed:&amp;nbsp;&amp;nbsp;&amp;nbsp; 9-JUL-2013 02:24:17.12&lt;BR /&gt;Attributes:&amp;nbsp; 3-JUN-2013 15:06:03.28&lt;BR /&gt;Modified:&amp;nbsp;&amp;nbsp;&amp;nbsp; 3-JUN-2013 15:06:03.28&lt;BR /&gt;Linkcount:&amp;nbsp; 1&lt;BR /&gt;File organization:&amp;nbsp; Sequential&lt;BR /&gt;Shelved state:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Online&lt;BR /&gt;Caching attribute:&amp;nbsp; Writethrough&lt;BR /&gt;File attributes:&amp;nbsp;&amp;nbsp;&amp;nbsp; Allocation: 3696, Extend: 0, Global buffer count: 3217014719, No version limit&lt;BR /&gt;Record format:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stream_LF, maximum 32767 bytes, longest 32767 bytes&lt;BR /&gt;Record attributes:&amp;nbsp; Carriage return carriage control&lt;BR /&gt;RMS attributes:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:&amp;nbsp;&amp;nbsp;&amp;nbsp; System:RWED, Owner:RWED, Group:RWED, World:RE&lt;BR /&gt;Access Cntrl List:&amp;nbsp; (AUDIT=SECURITY,ACCESS=DELETE+SUCCESS+FAILURE)&lt;BR /&gt;Client attributes:&amp;nbsp; None&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 13:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129533#M28587</guid>
      <dc:creator>allin-in-one</dc:creator>
      <dc:date>2013-07-09T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129585#M28588</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have file whose file attribute Global buffer count set as 3217014719.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ok, so you have a broken file or unsupported/overloaded usage of a file header field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;If want to create file using sys$qio with similar attribute getting error in IOSB as 20 (i.e. bad parameter value).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why would anyone ever want to creaate a file with SYS$QIO(w) ? Please explain.&lt;/P&gt;&lt;P&gt;Anyway, the return could be correct. It really IS a bad parameter value.&lt;/P&gt;&lt;P&gt;More likely the whole QIO is bogus, Please provide program details if you want help with that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; Please let me know how to create file with below properties.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please explain why you would want to, but I suspect y&lt;SPAN&gt;ou really don't want to.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please explain the real problem you are trying to deal with ?!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to provide platform and OpenVMS version details as the interpretation of the global buffer attribute has changed to allow for more then 32K values (the old 15 bit limit).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this help some,&lt;/P&gt;&lt;P&gt;Hein&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;perl -e "printf qq(%x %b\n),3217014719,3217014719"&lt;BR /&gt;bfbfbfbf 10111111101111111011111110111111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 14:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129585#M28588</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2013-07-09T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129587#M28589</link>
      <description>Somehow I don't believe that the buffercount is actually that value. Note that the 3217014719 is HEX BFBFBFBF. This looks to me more like an overwritten or corrupted data area rather than a true buffercount value.&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Tue, 09 Jul 2013 14:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129587#M28589</guid>
      <dc:creator>abrsvc</dc:creator>
      <dc:date>2013-07-09T14:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129631#M28590</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a backup application which already taken backup of this file with file attributes. While restoring file with same attributes (i.e.. Creating file with same attributes) &amp;nbsp;I am facing this problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 14:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129631#M28590</guid>
      <dc:creator>allin-in-one</dc:creator>
      <dc:date>2013-07-09T14:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129641#M28591</link>
      <description>&lt;P&gt;You may be able to reset/disable global buffers on this file with SET FILE/GLOBAL=0, if the file is still on disk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 14:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129641#M28591</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2013-07-09T14:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129647#M28592</link>
      <description>&lt;P&gt;What will be the implications of setting the Global buffer count as zero, even though it is non zero.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 14:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129647#M28592</guid>
      <dc:creator>allin-in-one</dc:creator>
      <dc:date>2013-07-09T14:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129653#M28593</link>
      <description>&lt;P&gt;When opening a file with global buffers .ne. 0, RMS will try to create a global section to map blocks of that file into virtual memory. Can you currently correctly open that sequential file at all ? Would RMS try to create that many global buffers ? Global buffers are mostly a performance saver (should reduce disk-IOs if multiple processes access and read that same file).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to, you could still use SET FILE/GLOBAL=100 to re-enable global buffering, if really necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 14:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129653#M28593</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2013-07-09T14:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129669#M28594</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's really debatable whether you want to restore a file with bogus attribues.&lt;/P&gt;&lt;P&gt;I'm mildly curious how the file came to be that way with getting a :&amp;nbsp;&lt;/P&gt;&lt;P&gt;%SYSTEM-W-BADCHKSUM, bad file header checksum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway... I suppose you could poke the FAT area in the header directly, if QIO does not allow it:&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A target="_blank" href="http://h71000.www7.hp.com/doc/84final/ba554_90018/ch01s04.html"&gt;http://h71000.www7.hp.com/doc/84final/ba554_90018/ch01s04.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can be done...&lt;/P&gt;&lt;PRE&gt;$ dir /full ram:hein.tmp
:
HEIN.TMP;1                    File ID:  (14,2,0)
Size:            1/16         Owner:    [HEIN]
Created:     9-JUL-2013 10:54:46.87
Revised:     9-JUL-2013 10:54:52.03 (1)
:
File attributes:    Allocation: 16, Extend: 0, Global buffer count: 3217014719, No version limit
Record format:      Variable length, maximum 0 bytes, longest 4 bytes&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course I just cheated with a bit of DCL,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I don't think this is useful code, I hardcoded the 'odd value'&lt;/P&gt;&lt;P&gt;See below for the code used to alter a normal file to the one above.&lt;/P&gt;&lt;P&gt;Enjoy!&lt;/P&gt;&lt;P&gt;Hein&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; MAKE_BAD_GBC.COM
$loop:
$if p1.eqs."" then inquire p1 "file name"
$file = f$search(p1)
$if file.eqs."" then exit 98962
$dev =  f$getdvi(f$parse(p1,,,"device"),"DEVNAM") ! Do not conceal
$id  =  f$elem(0,",",f$file(file,"fid")) - "("
$indexf_bitmap_vbn = (f$getdvi(dev,"cluster") * 4) + 1
$ibmapsize = (f$getdvi(dev,"maxfiles") + 4095) / 4096
$header_vbn = indexf_bitmap_vbn + ibmapsize + id -1
$vbn = "1234"
$vbn[0,32]='header_vbn
$open/read/write/share=write indexf 'dev'[000000]indexf.sys
$read/key=&amp;amp;vbn indexf header   ! Fails if vbn looks like quote :-(
$!show symb header
$x1 = f$cvui(510*8,16,header) ! Checksum
$x2 = f$cvui(044*8,16,header) ! FAT$L_GBC32
$x3 = f$cvui(046*8,16,header)
$x4 = x1 - x2 - x3 + %xBFBF+ %xBFBF
$show symb x*
$header[510*8,16] = x4
$header[044*8,16] = %xBFBF
$header[046*8,16] = %xBFBF
$write /update/symbol indexf header
$close indexf                   ! All done with that&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 15:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129669#M28594</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2013-07-09T15:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: I have file whose file attribute Global buffer count set as 3217014719.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129689#M28595</link>
      <description>&lt;P&gt;Once again thanks for all your help.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 15:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/i-have-file-whose-file-attribute-global-buffer-count-set-as/m-p/6129689#M28595</guid>
      <dc:creator>allin-in-one</dc:creator>
      <dc:date>2013-07-09T15:15:37Z</dc:date>
    </item>
  </channel>
</rss>

