From: Jon Paris                                                                
*** Resending note of 04/29/97 11:22                                           
Subject: ILE Questions                                                         
<<<<<< Sorry about previous incomplete note - hit the wrong key!!              
Subject: ILE Questions                                                         
 >3. All PAG area used by a program is released when the program is ended      
 >with LR seton regardless of the activation group.                            

Not true. There is only one case when this is true and that is when the        
program is compiled with the DFLTACTGRP *YES - i.e. it is not a "real"         
ILE program. In _all_ other cases the storage is tied to the AG and is         
only released when the AG terminates. In the case of the default AG            
this means when the job ends. From the programmers perspective this is         
not obvious since the compiler "fakes" the correct behaviour for LR on.        

 >4. All PAG area used by a program without LR turned on can only be           
 >released by the activation group ending (RCLRSC won't do it).                

See above - the status of LR has no bearing on this. Your point about          
RCLRSC is correct - only RCLACTGRP (or CEETREK etc.) will kill an AG           

 >5. Program A is in the default activation group. Program B has a named       
 >activation group. Both programs refer to Service Program C.  When            
 >Program A calls Program B, what affect does this have on Service             
 > Program C?                                                                  

It depends on the AG specification of the Service program. If it is            
*CALLER then there will be two copies running - one in the default             
and one in the named AG. If it uses a named AG then it will run there          
in both cases it will stay around until the AG goes away (see above)           
 >7. Is it more important to understand and use Activation Groups in a         
 >RISC environment than in a CISC?                                             

No - but the performance of ILE programs relative to OPM programs is           
better on Risc.                                                                

Hope this helps.                                                               

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.