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



Buck Calabro wrote:
> 
> The hitch in the gitalong comes when I decide to use my first subprocedure.
> I'm forced to choose an activation group then, because the compiler insists
> on running outside the DAG.  I can cheat and use *CALLER, but that puts me
> back in the DAG, where the compiler didn't want me.  There must be a good
> reason for that...
> 

Buck, the compiler only doesn't want you to have a DFTACTGRP(*YES)
program calling procedures.  There is a good reason for that (some very
low-level system reason that I don't really understood ...), but it
doesn't apply to *CALLER programs that end up in the DAG.

The only real problem I'm aware of with ILE running in the DAG is with
*SRVPGMs that do I/O and leave files open across calls.  When a RCLRSC
is done, bad things happen.  (Even where RCLRSC is "never" done, it is
sometimes done.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.