Rgzpfm and Rgzpfm while active work totally differently.
Conventional Rgzpfm copied records out using a temp work file, copied back in, and rebuilt all access paths, and required exclusive lock.
Rgzpfm while active pushes the records within the file.
I'm including some good links I've kept over the years.
N1011025 Basics on Reorganize While Active
http://www-01.ibm.com/support/docview.wss?uid=nas8N1011025
N1014683 RGZPFM Frequently Asked Questions
http://www-01.ibm.com/support/docview.wss?uid=nas8N1014683
The others below are internal docs I was sent, I can forward if anyone requests.
420665507 Explanation of the Records Found in the RGZPFM Status File
28453658 Performance Suggestions for RGZPFM
590089723 Questions, Answers, and Tips on RGZPFM - Improving Its Performance
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan
Sent: Friday, June 19, 2015 12:20 PM
To: Midrange Systems Technical Discussion
Subject: Re: RGZPFM without lock *EXCL - warehouse reads
Interesting, and good to know. A few questions:
1) What do you mean by "loads a work file"? I presume the reorg is done "in place".
2) Is journaling required for this to work? I note that you journal only when the file is being reorg'd.
- Dan
On Fri, Jun 19, 2015 at 12:06 PM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
wrote:
Jim,
We have a rgzpfm while active utility, loads a work file with any PF
that has deleted records.
Can be run without stopping any apps.
STRJRNPF FILE(&MBLIB/&MBFILE) JRN(QGPL/RGZPFM)
SNDPGMMSG MSG('RGZPFM starting for ' *BCAT &MBLIB *BCAT +
'/' *BCAT &MBFILE *BCAT '.')
RGZPFM FILE(&MBLIB/&MBFILE) MBR(&MBNAME) +
RBDACCPTH(*NO) ALWCANCEL(*YES) +
LOCK(*SHRUPD) /* rgzpfm while active */
MONMSG MSGID(CPF2981 CPF3135 CPF9801 CPF9809 +
CPF9810 CPF9820 CPF2982) EXEC(GOTO +
CMDLBL(ERROR2))
ENDJRNPF FILE(&MBLIB/&MBFILE) JRN(QGPL/RGZPFM)
MONMSG MSGID(CPF9803) EXEC(GOTO CMDLBL(ERROR4))
Paul
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx 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.