Are both programs running in the same activation group?
Otherwise make sure that your override is either on the JOB level (OVRSCOPE)
or on the callstack level.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Smith,
Sent: Donnerstag, 24. Januar 2019 17:04
To: RPG programming on the IBM i / System i (rpg400-l@xxxxxxxxxxxx)
Subject: level check oddity

I am on 7.3 Last time this program was run was on 7.2

I have a program that I keep getting a level check on. I have recompiled
the program and it still gets level check.
I have verified that I only have 1 copy of the file and 1 copy of the

The CL does a bunch of OPNQRYF and DBF override.

Then opnqryf on AHHR using format of AH1099

RPG program has AH1099 on the file spec.

The original program is OPM model.

I renamed the ILE version of the program AP1099 to AP1099XXX Reran the
process so that it uses the OPM program and it completed normally.

So I then reconverted the OPM to ILE, without any customizations and the
program receives level check again.

Any ideas?


NOTICE: This message, including any attachment, is intended as a
confidential and privileged communication. If you have received this message
in error, or are not the named recipient(s), please immediately notify the
sender and delete this message.
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support by shopping at with our affiliate link:

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by 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].