Darryl,
How did you compile your ILE RPG IV program? Show the CRTxxxyyy command and parameters used.
Did you specify DFTACTGRP(*YES) when you wrote the "new" ILE RPG IV program? This is very important if the program must "live with" other OPM programs.
DFTACTGRP(*YES) really means "OPM Compatibility Mode" -- the *PGM created will run in the default activation group where all OPM *PGMs run, and it will behave just like an OPM *PGM, with respect to call-level override scoping, *INLR behavior, etc.
If you did not specify DFTACTGRP(*YES) then you are probably dealing with issues such as the overrides and OPNQRYF are scoped to the default activation group, but your ILE program might be running in a different (QILE) activation group.
Hope that helps,
Mark S. Waterbury
On Wednesday, April 15, 2020, 10:13:05 AM EDT, dfreinkel <dfreinkel@xxxxxxxxxxxxxxxxx> wrote:
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
As an Amazon Associate we earn from qualifying purchases.