|
I've tried this. The trigger does return without setting on LR. However, since I need to compile the program with ACTGRP(*NEW) each invocation ends up in another activation group so they are never at the same invocation level. Therefore, I am ending up with ophaned programs, oh well. -Walden ---- From: Pete Hall <peteh@earth.inwave.com> To: MIDRANGE-L@midrange.com Date: Thursday, May 22, 1997 1:16 AM Subject: Recursive Triggers and ILE/RPG > >Maybe you could leave the triggers activated - use RETURN with *INLR >*OFF, and just do a RCLACTGRP *ELIGIBLE at the end of the job. I'd state >that this would work with confidence if it was a normal CALL, but in >this case, I'd try it in a controlled manner, as I'm not 100% certain >that each subsequent level will always end up using the same invocation, >so this could conceivably end up creating a new invocation anyway, and >then leaving it there as a permanent orphan. How could you test this >(without crashing the system of course)? Monitoring non-database faults? >Maybe someone else has an idea, or better yet, maybe someone can confirm >that this is not a problem, or has another solution entirely, or ... > >Pete > > > >-- > - Pete Hall peteh@earth.inwave.com >http://www.inwave.com/~peteh/ > >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >* This is the Midrange System Mailing List! To submit a new message, * >* send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * >* this list send email to MAJORDOMO@midrange.com and specify * >* 'unsubscribe MIDRANGE-L' in the body of your message. Questions * >* should be directed to the list owner / operator: david@midrange.com * >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >umidr > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.