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



-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Barbara Morris

David, are you saying that you got an RPG inquiry message for
an error in a linear main program? That's not supposed to
happen. The RPG inquiry messages are issued by the "Default
Error Handler" which is only in effect for cycle-main procedures.

Barbara, I was getting :

(C G D F) Call to mylinearmain ended in error.

When I display the job, I see that I'm in a subprocedure of my linear main program. Adding a break point to the caller, which is an rpg program without the main keyword, I see that answering 'G' takes me back to the caller. There seems to be some conflicting information : the message says the program ended and the DSPJOB shows it has not.
So if I had a pile of callers, all linear main, with a CLP at the origin, then pressing G would take me all the way back to that CLP?

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.