× 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 10/21/2015 1:20 PM, CRPence wrote:

A feature of the linear-main is ridding of the cycle and all the code
generated along with making the cycle functional. One of those features
of the cycle that is removed by using linear-main isntead, is the
generation by the compile of exception monitoring and the implicit
handling [for those monitors] being code-generated to invoke the
Run-Time Default Handler.

I myself haven't started using linear-main, and I found this information
about the default error handler interesting. I tried to read more about
it, but was unable to find it documented. None of the following mention
the default error handler:

I started at the MAIN() keyword:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/hmainkw.htm%23hmainkw?lang=en

Then Linear Module:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/linearmod.htm%23linearmod?lang=en

Program Flow in RPG Modules: Cycle Versus Linear:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/cycvslinear.htm?lang=en

I'm deeply familiar with the Detailed RPG IV Program Cycle, and the only
mention of error handling is at 18 / 19 - Undefined record type or
sequence error. Although 39 - Set return code will issue an escape
message on ABEND.
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/pgmcycdtl.htm?lang=en

Program Exception/Errors:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/progxpe.htm?lang=en



I mention these only to demonstrate that I /did/ try, and to note the
resources which proved unfruitful.


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.