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



On 2/2/2011 12:09 PM, David FOXWELL wrote:

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?

Yes, as long as everything was in the same activation group, or rather, as long as there were no control boundaries between the CLP and the procedure that got the exception. (Except there's no 'G' for CLP, so to continue in the CLP you'd press 'I'.)

From the system's point of view, every procedure is equivalent. The notion of a cycle-main procedure linear-main procedure or subprocedure doesn't exist for the system. For the scope of what happens during exception handling, all that really matters is where the control boundaries are. Usually, the control boundaries exist where the activation group changes. You can see the control boundaries on one of the views in the *PGMSTK page of DSPJOB.

In the case of an OPM CLP, the linear main programs would already have been taken off the program stack by the time CL was putting up its inquiry message, since there would have been a control boundary between the CLP and the RPG.

In the case of an ILE CLLE, in the same activation group as the RPG, the linear main programs would still be suspended during the CL inquiry message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.