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
Brown)
"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,
Mike
Sent: Donnerstag, 24. Januar 2019 17:04
To: RPG programming on the IBM i / System i (rpg400-l@xxxxxxxxxxxx)
<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
program.

The CL does a bunch of OPNQRYF and DBF override.

OVRDBF FILE(AH1099) TOFILE(AHHR) SHARE(*YES)
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?

Thanks

Mike
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,
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@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


This thread ...

Follow-Ups:
Replies:

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

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