|
Hi Joe, Thanks for the answer. That's what I thought at first but the weird thing is that I got the RNX8888 escape message with the other program, which is also *NEW. The only noticeable difference would be the size of the programs plus the one that gave me the RNX8888 uses files. Andre On 12/17/05, Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx> wrote: > > The key is ACTGRP(*NEW). This basically creates a completely new > environment for each call to the program: new ODPs, new variable spaces, > everything, so that even an RPG program can call itself. It's almost as > if > each activation group is running in its own job. As you might guess, > though, this can be really expensive. If you plan on having thousands of > calls, this might not be a good solution. > > Joe > > > > From: Andre Dubreuil > > > > Can someone tell me why recursivity some times works and some times it > > doesn't? > > > -- > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.