× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Jonathan -

My thoughts are that the QDBBRCDS API is probably what I need and I'm happy
with calling it.  My problem is that unlike other API's which fill user
spaces or return data structure, the documentation doesn't provide any
information other than "brings record data into main storage" so I have no
idea how to access it.  Serching for QDBBRCDS on Google only provide the IBM
links.

Notice that it is says that it *asynchronously* brings the records into main storage, which means that when the API returns control back to the caller, the record retrieval is not necessarily completed.


This leads me to believe that the purpose of the API is NOT to bring records in for the calling program to access them, but just to prefetch them so that when you do normal file I/O (chain, read, etc.) the records are already paged into main storage and don't have to be fetched from the disk, speeding up the file I/O. (It would be nice if the "documentation" included some documentation.)

My recommendation is for you to use a program-described file for retrieving records.

--
Ken
http://www.ke9nr.net/
Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.