HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Fast delete on indexed files -- how to from BASIC?
Operating System - OpenVMS
1828658
Members
6841
Online
109983
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 05:19 PM
10-05-2004 05:19 PM
Hi Folks,
I have a program that culls a large indexed file.
Depending on the size of the file this can take
up to about 15 hours. In order to speed this up
I am looking at the fast delete option for indexed
files. The program is written in BASIC and there
doesn't appear to be a way of specifying this
within the BASIC language.
The FDL documentation indicates that this attribute
can be set in the CONNECT block of an FDL.
Is there any way to set this attribute ON for
an existing file? I have tried recreating a
file and specifying this attribute in an FDL
then analyzing the file again but cannot see
any mention of this attribute.
Any suggestions or ideas?
Regards
Dave
I have a program that culls a large indexed file.
Depending on the size of the file this can take
up to about 15 hours. In order to speed this up
I am looking at the fast delete option for indexed
files. The program is written in BASIC and there
doesn't appear to be a way of specifying this
within the BASIC language.
The FDL documentation indicates that this attribute
can be set in the CONNECT block of an FDL.
Is there any way to set this attribute ON for
an existing file? I have tried recreating a
file and specifying this attribute in an FDL
then analyzing the file again but cannot see
any mention of this attribute.
Any suggestions or ideas?
Regards
Dave
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 06:14 PM
10-05-2004 06:14 PM
Solution
Dave,
Ususaly I dont write programs in BASIC. But looking to the documentation I realise that you have USEROPEN. http://h71000.www7.hp.com/commercial/basic/basic_doc/bas_um_023.htm#useropen
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 http://h71000.www7.hp.com/doc/731FINAL/4523/4523pro_011.html#rmsref_rab_rop .
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.
Bojan
Ususaly I dont write programs in BASIC. But looking to the documentation I realise that you have USEROPEN. http://h71000.www7.hp.com/commercial/basic/basic_doc/bas_um_023.htm#useropen
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 http://h71000.www7.hp.com/doc/731FINAL/4523/4523pro_011.html#rmsref_rab_rop .
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.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 06:37 PM
10-05-2004 06:37 PM
Re: Fast delete on indexed files -- how to from BASIC?
Bojan,
I just found the USEROPEN stuff -- should have
seen it before. The file will be converted after
all the old records have been culled, that is
the second step.
Dave
I just found the USEROPEN stuff -- should have
seen it before. The file will be converted after
all the old records have been culled, that is
the second step.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 06:41 PM
10-05-2004 06:41 PM
Re: Fast delete on indexed files -- how to from BASIC?
I should have Read The Fine Manual more thoroughly.
Dave
Dave
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP