|
At 09:02 PM 8/22/97 -0400, Tim Truax wrote: >Marcel Sjardin wrote: >> >> How can I find out how many records OPNQRYF has selected in a CLP? > >Can you DSPJOBLOG to a file then read it? (I am new to AS400, so forgive >me if ignorant answer) > >-- >žžžžžžžžžžžžžžžžžžžž >ž-Tim & Dana Truax-ž >žžžžžžžžžžžžžžžžžžžž There are API's now that let you get messages from a joblog--in the message handling section, I think. Dean Asmussen brought up CPYFRMQRYF--this _will_ create a true member, and then the number of records would be available, as he said, with RTVMBRD, or in the INFDS. Just sure NOT to use OVRDBF before the OPNQRYF statement. After the OPNQRYF, you'll want to OVRDBF to the file created from the CPYFRMQRYF. But I think the ODP must know this, somehow, and there ought to be a more direct way to get it. Cheers 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 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.