Why not just use SQL? _RLocate is the equilvant of doing a SetLL. and then
you would have to issue a read for every record to get the count instead of

Select Count(*)
From Filea
Where Key = 'SomeValue'

The alternative but not a good one would be to use OPNQRYF

On Wed, Mar 21, 2012 at 5:26 PM, Vinay Gavankar <vinaygav@xxxxxxxxx> wrote:

Hi,

Where can I find any documentation about what procedures are available in
QC2LE directory, and maybe how to use them?

I came across a program, which was using prototype called _RLocate to get
the RRN of a record based on a key from a keyed logical file.

I wanted to get the total number of records in that file which have Key
equal to a particular value.

Any information would be helpful.

Thanks
Vinay
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].