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



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

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.