|
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
begin: vcard fn: Marcel Sjardin n: Sjardin;Marcel adr: Vlietlaan 4 D;;;Bussum;;1404 CA;Netherlands email;internet: MSjardin@inter.nl.net tel;home: -31 35 6939504 x-mozilla-cpt: ;0 x-mozilla-html: FALSE end: vcard
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.