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
As an Amazon Associate we earn from qualifying purchases.