× 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.



On Fri, 8 Feb 2002, Smith, Mike wrote:
>
> Does anyone have an example of using this api, they would be willing to
> share?
> I need to determine the number of records in a file.
>

Mike,

QDBRTVFD is a very complicated API, so I may have just missed it in the
documentation -- but, this API doesn't appear to return the number of
records in the file!

The QUSRMBRD API can be used to retrieve the number of records in a
member.  (just like the RTVMBRD CL command) which may be what you're
looking for -- depending on if you truly want the number of records in the
whole file, or if you really just wanted to know how many records are in a
member.

If you use the QUSLMBR API to get a list of members, you could call
QUSRMBRD in a loop and total them up to get the total number of records
in a file....

I've used all of these APIs for various reasons before, just let me know
what exactly you're after...



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.