Thanks for your reply Paul
We looked at that, but because we have some jobs that require exclusive locks - we decide not to do that
I don't know if we should reconsider that thought
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: Steinmetz, Paul [mailto:PSteinmetz@xxxxxxxxxx]
Sent: Sunday, July 12, 2020 1:32 PM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Alan Shore <ashore@xxxxxxxx>
Subject: [EXTERNAL] RE: Question about rebuilding indexes
Alan,
I do a monthly RGZPFM while active.
The RGZPFM while active takes longer than a dedicated RGZPGM, but runs while normal processing is being done.
1) STRJRNPF FILE(&MBLIB/&MBFILE) JRN(QGPL/RGZPFM)
MONMSG MSGID(CPF7030)
2) 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))
3) ENDJRNPF FILE(&MBLIB/&MBFILE) JRN(QGPL/RGZPFM)
MONMSG MSGID(CPF9803 CPF7032)
Paul
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Alan Shore via MIDRANGE-L
Sent: Sunday, July 12, 2020 12:08 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: Alan Shore <ashore@xxxxxxxx>
Subject: Question about rebuilding indexes
Hi everyone
We are on V7r3
This weekend was our quarterly maintenance Applying ptf's etc.
Part of that maintenance is performing RGZPFM against a list of physical files For this quarter we a=included a number of files that we haven't RGZPFM Unfortunately - we had some problems, that delayed the start of the RGZPFM's To cut a long story short, we had to end some of the running RRGZPFM, and because these files are journaled, we set the parameter Allow cancel . . . . . . . . . . ALWCANCEL to *YES
Heres where we are now having problems
The indexes/access paths are being rebuilt, whenever a program needs to access a logical Is there any way to determine which indexes/access paths need to be rebuilt BEFORE any programs need to use them?
Hopefully - that all makes sense
As always, all responses gratefully accepted Alan Shore E-mail : ASHORE@xxxxxxxx<mailto:ASHORE@xxxxxxxx>
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.