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



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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.