× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



When you compile the RPG (not the ILE) do you compile in batch or
interactive?
RPG batch compiles submit with a jobd and the library list of the jobd.
The RPGLE submits with your current libl. (at least be default)
Look at your RPGLE compile listing and see which objects your compile is
using and compare that with the objects you reference when you run the
program.
If you are getting a level check it is because you compiled over a different
object than the one you are running against. ILE is a red-herring in this
case.

Paul Therrien
Andeco Software, LLC
225-229-2491
paultherrien@xxxxxxxxxxxxxxxxxx
www.andecosoftware.com

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Smith, Mike
Sent: Wednesday, July 31, 2013 9:02 AM
To: RPG programming on the IBM i / System i (rpg400-l@xxxxxxxxxxxx)
Subject: odd rpg to rpgle level check error.

I have an rpg program I am trying to convert to RPGLE.
After converting the program and then compiling both the display file and
rpgle program. I get a level check error.

I've taken the following steps to try and determine the problem, but I'm
just not seeing it.

Copy both the display and rpg as it originally exists to my library and
compile Program works.

Delete the rpg program and convert the source with cvtrpgsrc

Compile the rpgle
Program gets level check.

Compile display file with level check (*NO) Recompile rpgle

Program executes-BUT as soon as I hit enter on the screen everything shifts
to the right and triggers all of the error checking on the fields.

I don't see any ibm supplied files being used in the program.

Anybody experienced this before?
What do I need to check?
Oh yeah, I'm on V7R1

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@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.