Re: Files not closing with INLR on

Daniel Gross <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <[email protected]>
I think, that we would need some more information at this point. 

If *INLR is actually set *ON when the return happens, all files should be closed automatically by the cycle. 

What would help?

- the F-specs 
- the H-specs
- debugging and looking for *INLR - I had this case, long time ago, where somewhere deeply buried in the code LR was set off again
- or putting *INLR = *ON directly before the RETURN
- the compile command with all parameters

Maybe we can find something there. 

HTH
Daniel


> Am 25.09.2025 um 01:37 schrieb Art Tostaine, Jr. <[email protected]>:
> 
> Not unless it's in the existing code but I haven't seen it.
> 
> I might mess with running all of my stuff in it's own ACTGRP.
> 
>> On Wed, Sep 24, 2025 at 3:39 PM Brian Parkins <[email protected]>
>> wrote:
>> 
>> OVRDBF SHARES(*YES) lurking around somewhere?
>> 
>> Brian.
>> 
>>> On 24/09/2025 19:00, Art Tostaine, Jr. wrote:
>>> Pretty basic application. All CRTBNDRPG. Installed on a V7R3M0 system and
>>> when I run programs all of the files aren't closed.
>>> 
>>> I've never seen this before. The really old application I'm integrating
>>> into is all RPG/400. No activation groups being created, etc.
>>> 
>>> Is there somewhere else I can look to find out why this is happening?
>>> 
>>> Art
>> 
>> --
>> This is the RPG programming on IBM i (RPG400-L) mailing list
>> To post a message email: [email protected]
>> To subscribe, unsubscribe, or change list options,
>> visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
>> or email: [email protected]
>> Before posting, please take a moment to review the archives
>> at https://archive.midrange.com/rpg400-l.
>> 
>> Please contact [email protected] for any subscription related
>> questions.
>> 
>> 
> --
> This is the RPG programming on IBM i (RPG400-L) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/rpg400-l.
> 
> Please contact [email protected] for any subscription related questions.
> 
-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact [email protected] for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.