Gilly400
23625 pts. | Nov 12 2008 12:31PM GMT
Hi,
Bvining is correct - the CLRPFM will be very quick. The CPYF’s will take longest to run. I suggest you do a CHGPF of your file to re-use deleted records :-
CHGPF yourlib/yourfile REUSEDLT(*YES)
This will avoid deleted records in the future - check that your application programs don’t get affected by doing this beforehand (maybe your application needs records in arrival sequence).
Regards,
Martin Gilbert.
Philpl1jb
24600 pts. | Nov 12 2008 2:06PM GMT
When you RGZPFM or cpyf into your file DBMS will rebuild all the logicals — that may take the longest.
MDratwa
285 pts. | Nov 12 2008 4:31PM GMT
If you have logicals over this file, you may want to change the “Access path maintenance” to “*dly”. This will allow the “RGZPFM” to run faster because the access path will not be update during the reorg. After it finishes, submit the change to the logicals “Access path maintenance” to “*immed” (or what they were before). Hopefully noone or not job will open the logicals until they finish or they will be waiting a while. If you submit all of the jobs to batch with a jobq that runs one at a time you will not have to watch them run. (If you have a job that will email/page you, you could submit it last and then you will know when it is done.)






