Manshadi
New User
Joined: 31 Aug 2005 Posts: 82
|
|
|
|
Hi,
The following is exactly the job which we are running for reorg index.
The table have 4 INDEXES and we are running reorg index for all of them in parallel in the same time.
Moreover the other table space and index is reorging during that time
depend on the available system resource.
We are also running runstat utility in some table spaces during that time.
//ROXTBL1P JOB (XXXXXX),'ROXX TBL1',
// REGION=0M,NOTIFY=&SYSUID,MSGLEVEL=(1,1),
// MSGCLASS=X,CLASS=A,TYPRUN=HOLD
//ROXUILD EXEC DSNUPROC,SYSTEM=DSNx,
// LIB='DSN710.DSNx.SDSNLOAD',UID='ROXTBL1P'
//SYSUT1 DD DSN=M&SYSUID..TBL1P.SYSUT1,
// VOL=(,,,50),STORCLAS=SCLARGE,
// SPACE=(CYL,(3000,1200),,,ROUND),UNIT=SYSDA
//SYSREC DD DSN=M&SYSUID..TBL1P.SYSREC,
// VOL=(,,,50),STORCLAS=SCLARGE,
// SPACE=(CYL,(3000,1200),,,ROUND),UNIT=SYSDA
//SORTOUT DD DSN=M&SYSUID..TBL1P.SORTOUT,
// VOL=(,,,50),STORCLAS=SCLARGE,
// SPACE=(CYL,(3000,1200),,,ROUND),UNIT=SYSDA
//SORTWK01 DD DISP=(MOD,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(3000,1500),RLSE),
// VOL=(,,,50),STORCLAS=SCLARGE
.
.
.
//SORTWK40 DD DISP=(MOD,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(3000,1500),RLSE),
// VOL=(,,,50),STORCLAS=SCLARGE
//DSNUPROC.SYSIN DD *
REORG INDEX(DBNAME.TBL1PK)
SORTDEVT SYSDA SORTNUM 4
SHRLEVEL CHANGE
Best regards
Manshadi |
|