I'm glad you replied with this - it's stuff that needs reinforcement -
I'd included it in my original reply, so it's coming from 2 points of
the compass - any other takers for south and west?
On 2/5/2013 9:04 AM, Mark S Waterbury wrote:
When you create an RPG IV program using CRTBNDRPG, you have an option
(parameter) DFTACTGRP that defaults to *YES. If you compile such a
program with DFTACTGRP(*YES), it will show "Type of program" as "ILE"
but the "Activation group attribute" will show *DFTACTGRP.
This means it will run in the "default activation group" for the job,
which is primarily there for OPM programs. This is what I like to call
"OPM compatibility mode." Note that IBM does not officially call it
that, but that's what it is.
So, in addition to checking the results of DSPPGM, you also need to look
at the activation group of any ILE programs.
Also, bear in mind that if you specify *CALLER for the ACTGRP, and
somehow, you happen to call an ILE *PGM from a program that is running
in the DAG, it will end up running in the default activation group.
However, if it was not created with DFTACTGRP(*YES), it will not truly
behave as an OPM program. So, for example, RCLRSC will not be able to
"clean up" any resources associated with that program.
That is why IBM advises caution about "mixing" of ILE and OPM programs
... for more information, see:
and look for the "ILE Concepts (for the Impatient RPG Programmer" link
on that page.
All the best,
Mark S. Waterbury
> On 2/5/2013 8:19 AM, Gerald Kern wrote:
Thanks Vern - DSPPGM is what I was looking for.
The first attribute shown is Type of Program and it's either OPM or ILE.
That's exactly what I was looking for.
Gerald Kern - Information Technology
IBM Certified RPG IV Developer
Lotus Notes/Domino Administrator
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact