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



Actually I think Glenn was referring to an actual ILE program running in
the DFTACTGRP by having DFTACTGRP(*NO) ACTGRP(*CALLER) and being called by
an OPM or DFTACTGRP(*YES) program.

AFAIK, there's no reason a DFTACTGRP(*YES) program would need to be
differentiated from a true OPM program.

Charles


On Fri, Mar 24, 2017 at 8:12 AM, Mark S Waterbury <
mark.s.waterbury@xxxxxxxxxxxxx> wrote:

Hi, Michael:

Glenn raises an excellent point. An ILE CL program created with CRTBNDCL
... DFTACTGRP(*YES) will run in the default activation group, and thus
behave as if it is an OPM program.

Perhaps a better approach would be to ensure that your command processing
program (CPP) for your command has ACTGRP(*NEW) or ACTGRP(cmdname)
specified ... that way, it should not matter whether it is invoked from
OPM or ILE, or from the "DAG"...

Hope that helps,

Mark S. Waterbury


On 3/24/2017 10:01 AM, Glenn Gundermann wrote:

Hi Michael,

I'm just wondering what will you do differently if ILE or OPM?
What if an ILE program is running in the default activation group? Do you
consider it ILE or OPM in this case?

Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (905) 486-1162 x 239
Cell: (416) 317-3144


On 24 March 2017 at 09:20, <MichaelQuigley@xxxxxxxxxx> wrote:

Is there a simple way to check if a command processing program was
executed (via it's command) in an ILE or OPM CL program? I can retrieve
the call stack, and check from there, but the APIs are more work than I
would like to do in this case.

Would I be better to do a SNDPGMMSG back up the stack and then retrieve
the program information to see if it's CLLE or CLP?

Or is there a better alternative?

Thanks,
Michael Quigley
Computer Services
The Way International
www.TheWay.org



--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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.