|
Hi,Your proposal of changing the top-level program from CLP to CLLE and specifying ACTGRP(*NEW) should work.
I'm using a CLP that runs a test on 1 or more other CLP, RPG and RPGLE. After calling the CLP and one of the programs crashing, I find myself having to SIGNOFF because one of the RPGLE hasn't let go of a file. This is standard shop procedure! Understanding a little more about activation groups, I found that the files remaining open were in *DFTACTGRP.
I just had the idea to change the initial CLP to CLLE. All our RPGLE are compiled with ACTGRP *CALLER, although we do not yet use activation groups. My idea was that if my calling CLLE was compiled with ACTGRP *NEW, I'd no longer have this problem of files remaining open.
Now, when I press option 14 I note that the default value is ACTGRP *STGMDL STGMDL(*SNGLVL) which means running in QILE. What is the point of this?I think you meant to say you typed PDM option 14 next to the CLLE source member, then pressed F4=Prompt. This prompts the CRTBNDCL command (or CRTBNDRPG, etc. depending on the member type). But, if you specify ACTGRP(*NEW) as you suggested above, you cannot specify ACTGRP(*STGMDL), because you specified *NEW instead.
As an Amazon Associate we earn from qualifying purchases.
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.