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



Technically I suppose you're correct. As I pointed out, there is a
performance hit as the system will not share the code in memory as it would
with a truly recursive program, so this technique should be used wisely.
However, the result is the same.

We used this technique with our menu program. We discussed using the utility
to change the bit in the program to make it truly recursive but decided this
presented a potential maintenance problem and might not be supported in
future releases.

We only use the program in QTEMP for the second (and subsequent) call, which
are relatively rare, so it actually works pretty well.

Actually, I call this A PARENT and CHILD RECURSION.



> ----------
> From:         jmoreno@militarycars.com[SMTP:jmoreno@militarycars.com]
> Sent:         Tuesday, November 10, 1998 1:28 PM
> To:   MIDRANGE-L@midrange.com
> Subject:      ##EMailNumber 01-WNY-5141610 RE: RPG III & Recursive Call
> 
> Hi all
> 
> There was a technique using the CRTDUPOBJ  of the pgm in question and
> placing a copy
> in QTEMP.
> 
> So potentially you coul have teo copies of the same pgm with different
> names in QTEMP
> 
> I call this APPARENT RECURSION
> 
> Probably everybody in the list knows this .. But I just wanted to mention
> this..  :: - ))
> 
> Good Day all
> JORGE
> 
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.