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



Booth--

~eeeeewwwww~ *NOMAX!

In this case, I'd probably set the size at 10,000,000 records to start with. That's double the existing size.

I cringe when I hear *NOMAX-- I have visions of a program running away one night and filling all available storage (almost said 'disk space') until the OS says "I give up" and shuts down the system.

"Oh, but the programs that touch that file have been running for -years- without problems!"

*sigh*

Paul E Musselman
PaulMmn@xxxxxxxxxxxxx

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Booth Martin
Sent: Tuesday, November 06, 2018 4:06 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: PF member current number of increments larger than the max

I am curious; why aren't you recommending *NOMAX?


On 11/6/2018 2:36 PM, Musselman, Paul wrote:
Jack--

No, it's not a 'troubled' file-- the data is fine. It is a sign that whomever originally created the file didn't know how much data would be stored, and under-estimated the file size.

The problem is that every time the file fills up an 'increment' of records (ie every 100 records you add), the operating system will ask what to do about it. Usually, the option to increment the file and continue is taken. This has happened over 42,000 times!

The cure is to CHGPF and increase the base size of the file, and the size of the increments. Since the file currently has more than 4 million records, the changed size should be at least 5 million. The increment should be more than 100. I recommend the maximum-- 32767. The maximum increments is already 32767, which the file has exceeded by at least 10,000 increments!

CHGPF FILE(LIB/FILE) SIZE(5000000 32767 32767)

You can't change the file while it's busy-- pick a 'quiet time.'

Before you change the file, however-- How many deleted records does the file contain? Would reorganizing the file be a good starting point?


Paul E Musselman
PaulMmn@xxxxxxxxxxxxx



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.