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



I have the following problem:
- Interactive program Pgm1 (called from menu), created with DFTACTGRP(*NO), 
therefore running in QILE;
- Module Mod1 inserted in a srvpgm, created with ACTGRP(*CALLER), which uses a 
file File1 with USROPN and ends with RETURN without closing File1.
 
Pgm1 calls repeatedly Mod1 (just for this reason Mod1 does not close File1, so 
to speed up execution time), then ends with CLOSE(*ALL) and *INLR =*ON.
 
After Pgm1 has ended, if I check the list of open files of interactive job from 
Pgm1 has been launched from, I find File1 too. Assumed that RCLRSC (and its 
corresponding API) does not work on named activation groups, how can I close 
File1 from within Pgm1, without having to end the whole activation group QILE?
Thank you,
Paolo Coita


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.