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



Thanks Buck, I appreciate the information but I think I will ignore the
parameter for the time being.

Thanks to everyone who responded.

Scotty


____________________________
Scotty Muir
Sr. Systems Programmer
Triangle Suspension Systems
DuBois, PA.

-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of Buck Calabro
Sent: Friday, March 22, 2002 11:33 AM
To: midrange-l@midrange.com
Subject: RE: Freeing Deleted Disk Space


Scotty Muir wrote:

>We have a file (*File PF-Data) on the AS/400
>that one of our programmer has deleted a
>lot of records from, but we have not gotten
>back any of the freed disk space.

There have been several mentions of RGZPFM and the fact that nobody else can
be using the file whilst you reorg it, but nobody has mentioned the KEYFILE
parameter.  It might be a can of worms for an AS/400 newcomer and no harm
will come if you disregard the following...

RGZPFM allows you to physically re-sort the records according to the
sequence of the file specified in the KEYFILE parameter.  If you have an
item master file (PF) which is keyed in item number order AND you do most of
your read/chains by item number you may see a performance boost if you
specified KEYFILE(*FILE).  If most of your read/chains are by vendor, and
logical file PRODLF1 is the logical ordered by vendor ID, then
KEYFILE(PRODLF1) will sort the PF in vendor ID order.

No harm will come from omitting this, but you could conceivably hurt
performance if you pick a key sequence that is rarely used.  I thought I'd
bring this up to give you something more to think about.
  --buck
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




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.