Activation Groups, RPGLE, and Open Files

470 pts.
Tags:
Activation Groups
iSeries
RPGLE
SQLRPGLE
Hello Everyone, We have a couple question regarding activation groups, RPGLE, and Open files. In our H specs for RPGLE and SQLRPGLE programs, some of our programs use dftactgrp(*yes), some use dftactgrp(*no), and some use dftactgrp(*no) actgrp(*caller). What are the differences? And, should all of our programs be something? 90% of our programs are using dftactgrp(*yes).  But, when using sub-procedures in a program, a compile error stating you can't use dftactgrp(*yes) appears. We currently have files being left open in jobs when a user is no longer in a program.  Some of them say different things for the activation group when displaying open files :
Activation Group
QILE       0000000000000012
*DFTACTGRP 0000000000000002
Any clarification on the subject would be very helpful. Thank you, Dave

Software/Hardware used:
Iseries, RPGLE, SQLRPGLE, AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Try Google and you will find a lot of good descriptions & explanations.
Here is one interesting document:

http://www.google.co.il/url?sa=t&source=web&cd=4&ved=0CCEQFjAD&url=http%3A%2F%2Fwww.i5tools.com%2Fphp%2Fmodules.php%3Fname%3DDownloads%26d_op%3Dgetit%26lid%3D27&rct=j&q=dftactgrp&ei=sX0UTIPZG8ObOM_76YMM&usg=AFQjCNFO93LU7lN8I3kyMLMOiSUCo9TiJg

YuVa47

==============================================================

Your question is a little vague unfortunately. I suspect that you already know that, and that’s why you’re asking.

You need to do some basic reading. The best place is a fairly small section in Chapter 3., ILE Advanced Concepts, of the <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzahg/rzahgileconceptprint.htm”>ILE Concepts manual</a>. The section topic is ‘Data Management Scoping Rules’. Download the .PDF and read that section.

That small topic says about all you need to know to make sense of what you see. Most of the rest is covered in Chapter 11., Data Management Scoping.

After reading the first topic, you might know more about some exact questions that can ask.

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following