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



Hi Mark

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?

Vern

On 2/5/2013 9:04 AM, Mark S Waterbury wrote:
Hi, Gerald:

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:

http://www.scottklement.com/presentations/

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.

Thanks, Jerry

Gerald Kern - Information Technology
Programming Supervisor
IBM Certified RPG IV Developer
Lotus Notes/Domino Administrator
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623
Phone 419-479-5535


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.