|
The problem is that it's not just one file. I just mention one file for the example. It's about 30 files. CLOSE, to me, would be a "dirty fix" anyhow. :) Brad On Thu, 13 Nov 2003 13:17:28 -0600 (Central Standard Time) "Booth Martin" <Booth@xxxxxxxxxxxx> wrote: > What happens if you enter a close file command just > before you set on LR? > Will that fix it? > > > --------------------------------------------------------- > Booth Martin http://www.MartinVT.com > Booth@xxxxxxxxxxxx > --------------------------------------------------------- > > -------Original Message------- > > From: RPG programming on the AS400 / iSeries > Date: 11/13/03 13:10:43 > To: RPG programming on the AS400 / iSeries > Subject: Re: Files left open even though they were > closed? > > On Thu, 13 Nov 2003 12:38:34 -0500 > Hans Boldt <boldt@xxxxxxxxxx> wrote: > > Brad: Not coding USROPN doesn't mean you can't > explicitly > > open and close your file in the program. It just means > > that the file is implicitly opened on program > > initialization. > > > > In other words, without USROPN, the file is > automatically > > opened on program initialization, AND you can also > freely > > open and close the file at will during the running of > the > > program. > > > > Coding USROPN just means that you don't get the > automatic > > open on program start. > > > > Yes, this I understand this. In the context of the > question I stated it was a normal RPG program without > USROPN, setting on LR, which means it should be opened > and > closed by the system. I understand I can close it and > open > it, but in this case the file is remaining open when it > shouldn't be. > > I guess I mispoke a little.. sorry for the confusion. If > you have any ideas on why the file is remaining open, I'm > all ears. :) > > Brad > _______________________________________________ > 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, > visit: > http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/rpg400-l. > Bradley V. Stone BVS.Tools www.bvstools.com
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.