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



I understand it's a bad thing to do and we are slowly cleaning them up.
What I don't quite understand is what bad things is it doing when the joblog
shows that no activation groups were in fact reclaimed.  Or, could the
message be wrong and something was reclaimed that didn't trigger the counter
shown in the joblog?  I suspect that something more than activation groups
are being reclaimed when *eligible is used.

> -----Original Message-----
> From: Buck Calabro [SMTP:Buck.Calabro@commsoft.net]
> Sent: Tuesday, March 19, 2002 2:44 PM
> To:   rpg400-l@midrange.com
> Subject:      RE: Activation groups for beginners
>
> Nelson Smith wrote:
>
> >Question on an odd observation about the RCLACTGRP command:
> >
> >Here in this shop, we have hundreds of legacy CL OPM driver
> >type programs that all have RCLACTGRP *ELIGIBLE at the end
> >as part of their cleanup routine.  We have had many problems
> >with MCH3402 errors and "object not found in stack", etc.
> >and removing this command has solved most of them.
>
> That's roughly analogous to flipping the circuit breaker on the computer
> room to end a running program.  This says in effect, "wipe out all the
> storage you can get your hands on."  Generally, only a very few programs
> should use this - things like menu programs.
>
> GLMENU
>  01 - Chart of accounts
>  02 - Balance sheet
>  ...
> ARMENU
>  01 - Customer inq
>  02 - ATB
>  ...
>
> >The odd thing I notice, however, when reviewing the
> >joblogs, is that on many such crashes, the joblog
> >will say "0 Activation Groups reclaimed".  Does the
> >command affect anything other than activation groups?
>
> Not that I know of.  Here's the CL Reference:
> http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/info/cl/rclactgr
> .h
> tm
>
> >How is it possible, that removing the command fixes
> >the problem if no activation groups were
> >reclaimed in the first place?
>
> This is perhaps THE hairy part of ILE.  Errors may not show up until later
> because wiping out storage NOW doesn't do anything until the next time the
> program runs.  Remember that activation (initialising storage, etc.) is
> different from running.  A program is activated once per AG, including
> *DAG.
>
> Perhaps if you posted a bit more about the application... Are the ILE
> programs running in *DAG?  QILE?  *NEW?  Why was it decided to do a
> RCLACTGRP *ELIGIBLE in the CL programs?
>   --buck
> _______________________________________________
> 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.


************************************************************************************************************************************************************************************************************
This message originates from Lincare Holdings Inc. It contains information 
which maybe confidential or privileged and is intended only for the individual 
or entity named above.
It is prohibited for anyone else to disclose, copy, distribute or use the 
contents of this message.
All personal messages express views solely of the sender, which are not to be 
attributed to Lincare Holdings Inc., and may not be copied or distributed 
without this disclaimer.
If you received this message in error, please notify us immediately at 
MailAdmin@lincare.com or (800) 284-2006.
************************************************************************************************************************************************************************************************************



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.