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



I'm with Larry on this. As for the efficiency argument, I don't understand
that at all. RPG uses the same set of code to open all files whether
they're user defined opens or not. The extra required logic is little more
than a branch and return.

At 12:20 AM 10/2/98 -0400, you wrote:
>I strongly agree with John on this.  I have done this many times for the
>same reason, that being that you may never need one or more files so why
>bother opening them.
>
>However, I posed this question to John Sears. He stated flatly that he'd
>skip the required logic and let the system open them all at program
>startup.  He said it was more efficient but did not go into detail as to
>how or why.
>
>Hmmmmmmmm.
>
> Larry Bolhuis
> Arbor Solution, Inc
> lbolhui@ibm.net
>
>John Carr wrote:
>> 
>> I'd agree with Pete and Eric in your particular case.  However don't stop
>> using User Controlled opens completely.   If you have a file that may not
>> "Logically" be used for the whole duration of the program,  Only open it
>> once, the first time it's needed.  Like a file that is used only on an
>> error condition, or something like that.  We have subfiles that may sort
>> by 4 or 5 different logicals.  The user may (at anyone sitting) use only
>> 1 or 2 and may never use the others at all that session.   I open them
>> the first time the user uses that sort sequence and then leave them open.
>> 
>> Things like that there
>> 
>> John Carr
>> EdgeTech
>> Have Classes, will Travel
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: david@midrange.com
>+---
>
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.