Have you ensured that AH1099 and AHHR have the same record format ID?

Sounds like they don't.

Charles


On Thu, Jan 24, 2019 at 9:04 AM Smith, Mike <Mike_Smith@xxxxxxxxxxxxxxxx>
wrote:

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 ...

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].