|
If you have compiled your RPG pgm to a named activation group and you have not changed the CLP to a CLLE then your cl is running in the default activation group and your RPG pgm is running in the named activation\ group so it is not seeing the open query. You can change the cl from CLP to a CLLE and compile it to use the same activation group as your RPG pgm and specify OvrScope( *CallLvl ) on the override before your OPNQRYF. You could leave the Cl as a CLP and specify OvrScope( *Job ) on the override before your OPNQRYF. HTH > -----Original Message----- > From: owner-rpg400-l@midrange.com > [mailto:owner-rpg400-l@midrange.com]On > Behalf Of bill totz > Sent: Friday, July 28, 2000 1:31 PM > To: RPG400-L@midrange.com > Subject: ILE Bug? > > > Hello List > > I have question regarding opnqryf's. A RPG400 pgm and CL was > created to > process an opnqryf to print totals. The pgm worked fine. I > then converted > the pgm to RPGLE, then ran. Program processed all records in > file however > did not process the shared open file with the opnqryf. Is > this a bug? We had > to cpyopnqryf to lib, override then process and delete the file. > Any suggestions welcome-thanks > ______________________________________________________________ > __________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | 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-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.