Birgitta,

Checking the override level helped me solve this problem.

Thanks very much.

Mike

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Birgitta Hauser
Sent: Thursday, January 24, 2019 12:09 PM
To: 'RPG programming on the IBM i (AS/400 and iSeries)' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: level check oddity

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://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2frpg400-l&c=E,1,5Wr79khBMFSqZfL-JdzEYBl_dCwtQKMnbH2bE7neGNBSpmADToJoYilAQccDPgCVcymQetCZsJPKXUHl6vvTMGfeYv2NwPM70F9cmR0L-0w9sM69fEjY2GJn&typo=1
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farchive.midrange.com%2frpg400-l.&c=E,1,R3Z2uk6To388oSLzFD2Q1Ai3TBZmZZcRq1to3wr7GnvBN_mJrHsI0Y5_U96sco8EQJ9yPsS3aR0W9Y5gH4dXFjO77VBFwqX4mycbKinYMjDQ9QmoYQ,,&typo=1

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmidrange.com&c=E,1,26Lh0jDxlztAElS7ec4gmXmPL-HozaqBw2VLpueDNh381DP8CvZEjeItaUeo-GlHicnVmM1jp0oJEa0LG-ImiTCYMZkfmzutCc4VtllLY_j8OotD&typo=1 by shopping at amazon.com with our affiliate link:
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2famazon.midrange.com&c=E,1,6X3xmtm0Lw_Jhj4ey7AXOO4Da_sIObMsWzPk9SCAcl3UW5ml8YMABF6WouP_HCLNi-4JEyI2r0rcJdaTaoQJZtbVAcHkq2gFfIKYN5rAxJTQ90osUL5o&typo=1

--
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://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.midrange.com%2fmailman%2flistinfo%2frpg400-l&c=E,1,KQrLCthzT5Jj4ql4m2w48uQX9aapEz7rWLi4cKO5IMnSB0PqZQ3h4S-uc_NqFywv3a9cBl0t3wi9YCEGyKhBi-WH51nOruyUnxiQBOkojqYo7XvVvtJx&typo=1
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2farchive.midrange.com%2frpg400-l.&c=E,1,qGxvNOzcEWgNACSZohnj0Iy3qyQK_fXjNccc0pgVHFe6cqTaiOru2nefhDE0CAb9eRSjqN574vb9HF15MSJo6PQlh9xXt4jNHy4FrXTty61U_WD8&typo=1

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmidrange.com&c=E,1,GJFNX0IMazYxtybbuK4D75kYbkW7WZYw1zNWfeK5Vq0OX5ZpaTnrA03eEy7hFaGX8uds6jE28XC5r7QSNfsuKnUT3x1fiz8mNWz68JZ7nZ_Q8ky5sqWioeAfeQ,,&typo=1 by shopping at amazon.com with our affiliate link: https://linkprotect.cudasvc.com/url?a=https%3a%2f%2famazon.midrange.com&c=E,1,oMWKDotuB01LFmDJLNI6UVp1rKInjqZg1VfURJGqQt0Mxm6g3ZfLC53Qcn5iRFuW8PBnfNfKqcQo1CJTSiTReWYko9vm3OHzBkuHeDbW9F4hA63pMiw,&typo=1
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 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].