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


  • Subject: Re: Creating Logicals before or after populating a file ?
  • From: Chuck Lewis <CLEWIS@xxxxxxxxxx>
  • Date: Wed, 14 Oct 1998 22:41:25 -0400

Evan,

I agree with Larry and Leo !!

At a former job, we had an EOM process that did a BUNCH of Adds, Deletes and
Updates to a HUGE file. This was back when we were on an F70 (remember those 
<BG>
?) and this ONE program would run for HOURS. It had WAY to may logicals over it.
We decided to delete the logicals and let the program run. It reduced the run
time by something like 90 % !!!! Of course you had to recreate the LF's but this
was STILL faster...

A side note - WAY back in my early start in IBM midrange world, when we were
moving from a S/34 to a NEW S/38, we had contractor group in writing an Order
Entry System. The project leader was a programming GENIUS and a GREAT person as
far as taking the time, after hours, on HIS dime to answer any questions me, the
novice and :"budding" programmer had. He had a rule concerning logicals that he
tried to RELIGIOUSLY follow - no more than 3 logicals over a physical, 
especially
LARGE ones,  for all the normal reasons. I KNOW this will start debate, but he
said that you should be able to do everything else in a well written program. 
Key
the PF right and 3 or less LF's. I have tried to stick to this through the years
and for the most part have managed to. It's AMAZING that it really isn't that
hard... IMHO

Chuck

Evan Harris wrote:

> We are about to embark on an exercise that will populate a *large*
> database file (40 million records plus). This file has about 20 logical
> files built over it.
>
> My question is, which is more efficient:
>
> 1. Populating the file and building the logicals ?
>
> 2. Building the logicals and populating the file ?
>
> Any thoughts would be greatly appreciated.
>
> Cheers,
> Evan Harris
> +---
> | 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.