Have a new DB2 V12 database on z/OS 2.4 z13. With hundreds of programs to rebind, sysibm.syspackage, sys.columns, sys.tables, etc will grow. Hence the need to reorganize the tablespace for performance. Maintenance window is one hour, so just one tables space is being done. Small space less than 700 tracks.
Goal: after updating PriQty and SecQty, reorg sysibm.sysplan in DSNDB01.SPT01 and index space DSNPPH01 to reduce extents (XT) and improve performance.
Q: Is reorg run on system tables the same as for user tables? Is there special IBEGENR (sp?) VSAM redefine needed for system tables?
In general, what is the best way to update the system tables and show them some love.
Sample JCL: //REORGS1 EXEC PGM=DSNUTILB,PARM='MT03,REORG1DB' //STEPLIB DD DSN=DSNC10.SDSNLOAD,DISP=SHR //SYSREC DD DSN=&&SYSREC,DISP=(NEW,DELETE,DELETE),
// SPACE=(TRK,(9000,5000),,,ROUND),UNIT=SYSDA LISTDEF TBLSLIST
INCLUDE TABLESPACES DATABASE TR032
REORG
TABLESPACE LIST TBLSLIST COPYDDN(CDD1) LOG NO
SHRLEVEL REFERENCE
SORTKEYS SORTDATA SORTDEVT SYSDA
STATISTICS TABLE(ALL) INDEX(ALL)
//REORGS1 EXEC PGM=DSNUTILB,PARM='MT03,REORG1DB'
//STEPLIB DD DSN=DSNC10.SDSNLOAD,DISP=SHR
//SYSREC DD DSN=&&SYSREC,DISP=(NEW,DELETE,DELETE),
// SPACE=(TRK,(9000,5000),,,ROUND),UNIT=SYSDA
//SYSIN DD *
LISTDEF TBLSLIST
INCLUDE TABLESPACES DATABASE TR032
REORG
TABLESPACE LIST TBLSLIST COPYDDN(CDD1) LOG NO
SHRLEVEL REFERENCE
SORTKEYS SORTDATA SORTDEVT SYSDA
STATISTICS TABLE(ALL) INDEX(ALL)