I had an issue with an ILE program in a CLP using an OPNQRYF. This article helped me.
Hopefully it gives some help.
https://www.itjungle.com/2005/02/16/fhg021605-story01/
[
https://www.itjungle.com/foxtrot/fhg/prodataaudit300x250.gif]<
https://www.itjungle.com/2005/02/16/fhg021605-story01/>
OPNQRYF and ILE - IT Jungle<
https://www.itjungle.com/2005/02/16/fhg021605-story01/>
OPNQRYF and ILE. February 16, 2005 Hey, Ted . I converted an RPG/400 program to ILE RPG, and now the OPNQRYF in the calling CL program no longer works. Doesn’t OPNQRYF work with ILE?
www.itjungle.com
Sharon Strippoli
________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Steinmetz, Paul via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 15, 2020 10:23 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
Subject: RE: QRG4033 - help needed
Probably an activation group issue.
RPGLE (by default) runs in a different activation group than RPG
Paul
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of dfreinkel
Sent: Wednesday, April 15, 2020 10:14 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: QRG4033 - help needed
I have a CLP that calls and OPM RPG program. The OPM RPG calls multiple other OPM RPG programs.
I had to rewrite one of these and did so in ILE.
The CLP has OVRDBF share(*YES), OPNQRYF and CLOF.
On running the CLP program, the CLP would crash with an error linked to the OPNQRYF. I put back the old RPG program and the CLP and all programs run normally. The ILE program runs normally on its own.
The CLP fails before it calls the first RPG program.
IBM wants us to engage one of their services teams to resolve the error.
Management said to go back to OPM.
Darryl Freinkel
A4G.
Tel: 770.321.8562 Ext 111 | Cell: 678.355.8562
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Joep Beckeringh via RPG400-L
Sent: Wednesday, April 15, 2020 9:52 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Cc: Joep Beckeringh <joep.beckeringh@xxxxxxxxxx>
Subject: Re: QRG4033 - help needed
Darryl,
What is that bug you mention? Downgrading to OPM seems like a horrible way out.
Joep Beckeringh
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.