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



Richard,

If you use the default activation group, static binding and binding directories 
are not
supported.  This also means CALLB and CALLP aren't supported, nor are
procedures (which are statically bound, hence unsupported by dftactgrp(*yes)).

If you're doing a conversion, DFTACTGRP(*YES) lets you make your RPGIV
programs act like RPGIII programs, which means you can use CVTRPGSRC and
easily "upgrade" (if that's the right word) to RPGIV.

When using static binding, then you'll have to specify a named activiation 
group, or
*NEW.  You can also use *CALLER to use the caller's activation group, but if the
caller's activation group is the default activation group, static binding, 
callp, callb, etc.
won't work.

What you use depends on what you want to do, or perhaps what functions you need
support for...

I think RPGIV presents a lot of very powerful options, particularly with 
prototyping
and binding, that we can take advantage of, but that requires using named or
temporary new activation groups.

I don't think I'm knowledgeable enough yet to comment intelligently about the
advantages of *NEW as opposed to QILE or a named group, but a lot of very smart
people watch this list....maybe somebody will weigh in?

--Chris


On 27 Feb 2002 at 15:01, Richard B Baird wrote:

>
> sorry for the double post (rpg and web lists) - didn't know which would be
> more appropriate, or would get the quickest/most responses.
>
> Ok, I've got a little time in between projects, and I'd like to get serious
> about using more ILE concepts.  I've got a little web application that I'd
> like to clean up and do "right".
>
> my questions:
>
> I'm really not very hip on activation groups.  Should I use named, *caller,
> *new, or default activation groups?  What are the ramifications of each?
> (it all seems to work fine using default).
>
> Why can't I use "dftactgrp(*yes)" on CRTBNDRPG if I use the 'H' spec BNDDIR
> () keyword, but I can CRTRPGMOD and CRTPGM without naming an activation
> group.
>
> how are all of you setting up this environment, ILE-wise?  any tips would
> be appreciated.
>
> a little background:
> I'm on V4R5, using the classic http server, and the standard QZHBCGI APIs.
> I also sometimes use some QC2LE functions.  my cgi programs are reasonably
> simple - nothing too tricky.  There are a lot of library list
> manipulations, usropn files, a few OVRxxxFs via QCMDEXC and a few C
> function calls.
>
> thanks,
>
> rick
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> 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 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.