|
In the OPM environment, *INLR would be related -- in the ILE
environment, it's the activation group that matters, not LR.
Sounds like you're calling an ILE routine (causing it to be activated)
and then you're recompiling it, forcing it to move to QRPLOBJ.
When you call it again, it's no longer there, so you get a "tried to
refer...blahblah...no longer exists"
Reclaim the activation group and try again.
On 6/11/2013 3:25 PM, John McKee wrote:
A CLLE calls an RPGLE. Works perfectly the first time. The CLLE--
takes parameters. Of interest is the second, which determines what
the program does. The program has two functions. If I run it with
one function, trying to run it with the second function results in
MCH3402 "Tried to refer to all or part of an object that no longer
exists"
Log out and back in, and the function works.
Program does turn on *INLR immediately before a Return.
I have not seen this error before and do not know how to debug it.
John McKee
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 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.