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



Hey Scott,
I didn't mean to confuse. I am doing my recursion through a subprocedure.
I was probably sloppy with my terminology. My appologies.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
06/15/2009 11:11 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Reclaiming Activation Groups.






Please describe what you need to do. I don't understand why you need to
call a *PGM (as opposed to a subprocedure) recursively. Doing a *PGM
call recursively makes little sense to me.

Having said that. Instead of C, might I suggest that CL (which also
allows recursive calls) might be more palatable?


Bryce Martin wrote:
<quote>Yes to call a ILE RPG *PGM recursively, you have to have use
ACTGRP(*NEW)...unless you're on 6.1.

Note that for example ILE C *PGMs have always supported recursion.

If I need a recursive *PGM, say for example a trigger program, instead
of using ACTGRP(*NEW) I'll put an ILE C wrapper around RPGLE procedure
calls.</quote>

Unfortunately I can't use ILE C here because no one else knows it.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
--- This message (including any attachments) is intended only for the
use of the individual or entity to which it is addressed and may contain
information that is non-public, proprietary, privileged, confidential, and
exempt from disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any use, dissemination,
distribution, or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify us and
destroy this message immediately. ---


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.