|
It's one of those days when I think that everything I thought I knew
isn't true anymore....
RPG program A does a dynamic call to RPG program B.
I've confirmed everything is running in the same activation group.
Program B uses the INFDS to see if a given file is open. If it's not, it
opens it. The program then does a RETURN to exit- saving the pain of
opening the file again next time. Subsequent calls show the file as
being opened, so that's all working exactly like expected.
Program A eventually sets *INLR on when it exits.
But the file program B opened stays open.
I was certain the *INLR being set in program A would close all open
files, but obviously not.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.