|
I realize it's not purely CL solution, but if ILE is not out of the realm of possibilities doing a CALLPRC to a module written in HLL with embedded SQL following statement would be my choice: SELECT COUNT(*) FROM YOURVIEW Elvis Celebrating 10-Years of SQL Performance Excellence -----Original Message----- Subject: Getting the number of records in non-keyed logical files? Hi all, Does anybody know how to get the number of records in non-keyed logical files (e.g. SQL views)? RTVMBRD / NBRCURRCD can only get the number of records for keyed LFs. I would like to determine, in a CL program, the number of records in a SQL view. Thanks, Luis Rodriguez
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.