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



At 10:14 AM 8/22/97 +0200, Marcel wrote:
>How can I find out how many records OPNQRYF has selected in a CLP?
>
>I use OVRDBF with SHARE(*YES), OPNQRYF and a ILE RPG program.
>
>I've tried RTVMBRD NBRCURRCD() and the INFDS in the RPG (number of
>records in the member at open-time at offset 75), but both give me the
>*original* number of records, not the selected number.
>I've also tried to receive the message CPI4304 (nn records selected)
>from the *PGMQ (which I can see on the display). But I only receive
>CPC4001 (completion message: file opened).
>
>The only thing I can think of is an ILE RPG which counts the number of
>records... OK that works, but there must be a faster way! Anyone got any
>ideas?
>Thanx in advance.
>-- 
>Groetjes,
>Marcel Sjardin

Ooh! Good question! None of the member commands will work, because there's
really no member. OPNQRYF only opens up an Open Data Path (ODP) and does
_not_ create a member. Any ideas?

Vernon Hamberg
System Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN 55401
(612) 371-1111 x480
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.