<?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: Fast delete on indexed files -- how to from BASIC? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864084#M31456</link>
    <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Ususaly I dont write programs in BASIC. But looking to the documentation I realise that you have USEROPEN. &lt;A href="http://h71000.www7.hp.com/commercial/basic/basic_doc/bas_um_023.htm#useropen" target="_blank"&gt;http://h71000.www7.hp.com/commercial/basic/basic_doc/bas_um_023.htm#useropen&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With USEROPEN you get FAB, RAB etc.., blocks. You need the RAB block. To set the fast delete option you must set the RAB$V_FDL bit in the RAB$L_ROP field of the RAB. See &lt;A href="http://h71000.www7.hp.com/doc/731FINAL/4523/4523pro_011.html#rmsref_rab_rop" target="_blank"&gt;http://h71000.www7.hp.com/doc/731FINAL/4523/4523pro_011.html#rmsref_rab_rop&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;My concern is on performance of such a file. After deleting a huge ammount of records it will be oportune to reorganize the file using CONVERT.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
    <pubDate>Wed, 06 Oct 2004 01:14:53 GMT</pubDate>
    <dc:creator>Bojan Nemec</dc:creator>
    <dc:date>2004-10-06T01:14:53Z</dc:date>
    <item>
      <title>Fast delete on indexed files -- how to from BASIC?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864083#M31455</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;I have a program that culls a large indexed file.&lt;BR /&gt;Depending on the size of the file this can take&lt;BR /&gt;up to about 15 hours.  In order to speed this up&lt;BR /&gt;I am looking at the fast delete option for indexed&lt;BR /&gt;files.  The program is written in BASIC and there&lt;BR /&gt;doesn't appear to be a way of specifying this&lt;BR /&gt;within the BASIC language.&lt;BR /&gt;The FDL documentation indicates that this attribute&lt;BR /&gt;can be set in the CONNECT block of an FDL.&lt;BR /&gt;Is there any way to set this attribute ON for&lt;BR /&gt;an existing file?  I have tried recreating a&lt;BR /&gt;file and specifying this attribute in an FDL&lt;BR /&gt;then analyzing the file again but cannot see&lt;BR /&gt;any mention of this attribute.&lt;BR /&gt;Any suggestions or ideas?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2004 00:19:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864083#M31455</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-10-06T00:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fast delete on indexed files -- how to from BASIC?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864084#M31456</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;Ususaly I dont write programs in BASIC. But looking to the documentation I realise that you have USEROPEN. &lt;A href="http://h71000.www7.hp.com/commercial/basic/basic_doc/bas_um_023.htm#useropen" target="_blank"&gt;http://h71000.www7.hp.com/commercial/basic/basic_doc/bas_um_023.htm#useropen&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With USEROPEN you get FAB, RAB etc.., blocks. You need the RAB block. To set the fast delete option you must set the RAB$V_FDL bit in the RAB$L_ROP field of the RAB. See &lt;A href="http://h71000.www7.hp.com/doc/731FINAL/4523/4523pro_011.html#rmsref_rab_rop" target="_blank"&gt;http://h71000.www7.hp.com/doc/731FINAL/4523/4523pro_011.html#rmsref_rab_rop&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;My concern is on performance of such a file. After deleting a huge ammount of records it will be oportune to reorganize the file using CONVERT.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Wed, 06 Oct 2004 01:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864084#M31456</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-10-06T01:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fast delete on indexed files -- how to from BASIC?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864085#M31457</link>
      <description>Bojan,&lt;BR /&gt;&lt;BR /&gt;I just found the USEROPEN stuff -- should have&lt;BR /&gt;seen it before.  The file will be converted after&lt;BR /&gt;all the old records have been culled, that is&lt;BR /&gt;the second step.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2004 01:37:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864085#M31457</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-10-06T01:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fast delete on indexed files -- how to from BASIC?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864086#M31458</link>
      <description>I should have Read The Fine Manual more thoroughly.&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Oct 2004 01:41:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fast-delete-on-indexed-files-how-to-from-basic/m-p/4864086#M31458</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-10-06T01:41:00Z</dc:date>
    </item>
  </channel>
</rss>

