Charles Wilt wrote:
Files referenced in a module with USROPN are only closed when you
explicitly close them, or the activation group and/or job ends.
Charles, having USROPN coded for a file doesn't affect whether it gets
implicitly closed. It only affects whether it gets implicitly opened.
If a main procedure returns with LR on, the USROPN files will get closed.
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives