|
I had a repeat of this issue.
From old PMR, here is the IBM doc summarizing the issue.
Previously, I had the issue at V6R1.
Now on V7R1.
Bottom line, even though the RGZPFM completed with no errors, space
is not returned for some files.
Anyone else seeing this issue?
*NONE Command 09/04/14 17:26:04.085501 QCADRV QSYS 03BA
RGZPFM QGPL 0062
Message: 5500 - RGZPFM FILE(CURBSTONE/CCFP4000) MBR(CCFP4000)
RBDACCPTH(*NO) ALWCANCEL(*YES) LOCK(*SHRUPD)
*NONE Diagnostic 09/04/14 17:38:26.730345 QDBFFCPY QSYS 0181
RGZPFM QGPL 0062
Message: REORGANIZE RETURNED LESS STORAGE THAN ESTIMATED.
IBM Software Technical Document
Document Number: 631414267
<<SNIP>>
Document Title:Basics on Reorganize While Active
"...
When using *SHRUPD lock, it is important to understand how
production jobs inserting into the file will affect the RGZPFM job
and its ability to return space. After the reorganize job runs
through the file one time, it will look to see if any additional rows
have been inserted at the end of the file since the reorganize
started. The job will note what rows need to be moved and try to move
them to get as much space returned as possible. If a row gets
inserted at the end of the file after the last rows that needed to be
moved were noted, the system will not be able to give back as much
space. More activity on the file (inserts) can prevent space being
returned. Files set up with Reuse Deleted Records *NO requires all
inserts to be placed at the end of the file. This increases the
chance of limited space being returned. Files that are set up to
Reuse Deleted Records *Yes will have a greater chance of production
jobs inserting rows in the middle of the file and not impacting the
RGZPFM job. There is still a chance that rows can get inserted at the
end and prevent space being returned even with Reuse Deleted Records
turned on.
For this reason, you may need to run the RGZPFM several times in
order to see space returned. In some cases, a maintenance window is
needed to run RGZPFM with no inserts happening. If this is the case,
let the reorganize run during the week and move as much as it can and
do much of the work. You should perform this work as close to the
maintenance window as you can and, if it ends earlier, start another
one. Then, during the down time, the reorganize will have less work
to do, and down time should be decreased. There is no way to estimate
how long the RGZPFM will run.
Use the journal to determine activity that is occurring on the file
while the RGZPFM is running (DSPJRN).
At R710 with DB group 24, message (CPF9898) and a general status
message will be issued with the status of this last phase of giving
back space.
Prior to R610, the reorganize job would have to get an exclusive
lock on the file at the end to give any space back. At R610 and
later, this is no longer needed."
Lastly, when Reorganize While Active is used, the system ends at a
16 MB segment boundary. This means that for smaller files or files
with little spaces used for deleted records, you may see the number
of records set to 0; however, no space is returned.
Tips to help improve performance:
1. Use RGZPFM KEYFILE(*RPLDLTRCD). This may reduce the amount of
rows that are needed to be moved. This option should not be used if
arrival sequence is needed for the file.
..."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.