Previous Topic: LOCKNext Topic: MERGE ARCHIVE


MAINTAIN INDEX

DD statements for the batch command facility (z/OS)

//userdb   DD  DSN=user.olddb,DISP=SHR
Additional existing database files assignments, as required
//SYS003   DD  DSN=user.dbl003,DISP=(NEW,PASS),UNIT=tape003,
//             DCB=(RECFM=VB,LRECL=rrr003,BLKSIZE=bbb003)
//SYS004   DD  DSN=user.dbl004,DISP=(NEW,PASS),UNIT=tape004,
//             DCB=(RECFM=VB,LRECL=rrr004,BLKSIZE=bbb004)
//SYS005   DD  DSN=user.dbl005,DISP=(NEW,PASS),UNIT=tape005,
//             DCB=(RECFM=VB,LRECL=rrr005,BLKSIZE=bbb005)
//SYS006   DD  DSN=user.dbl006,DISP=(NEW,PASS),UNIT=tape006,
//             DCB=(RECFM=VB,LRECL=rrr006,BLKSIZE=bbb006)
//SYSPCH   DD  DSN=&&sort,DISP=(NEW,PASS),UNIT=disk,
//             SPACE=(TRK,1),DCB=BLKSIZE=80
//RELDCTL  DD  DSN=user.reldctl,DISP=(NEW,CATLG),UNIT=nnnn,
               VOL=SER=nnnnnn,
               DCB=(RECFM=FB,LRECL=60,BLKSIZE=bbbctl)
//SORTMSG  DD  SYSOUT=A,DCB=BLKSIZE=bbbb
//SORTWK01 DD  UNIT=disk,SPACE=(TRK,(nnn,nnn))

Add additional SORTWKnn files as necessary

userdb

DDname of the existing database file

user.olddb

Data set name of the existing database file

user.dbl003

Data set name of the intermediate work file containing index descriptors from IDMSTABX

tape003

Symbolic device name of the SYS003 file

rrr003

Record size of the SYS003 file; see MAINTAIN INDEX for sizing information.

bbb003

Block size of the SYS003 intermediate work file

user.dbl004

Data set name of the intermediate work file containing the output from SORT3

tape004

Symbolic device name of the SYS004 file

rrr004

Record size of the SYS004 file; should be the same as rrr003

bbb004

Block size of the SYS004 intermediate work file; should be the same as bbb003

user.dbl005

Data set name of the intermediate work file containing pointers for user owned index sets from IDMSDBL3

tape005

Symbolic device name of the SYS005 file

rrr005

Record size of the SYS005 file; see MAINTAIN INDEX for sizing information

bbb005

Block size of the SYS005 intermediate work file

user.dbl006

Data set name of the intermediate work file containing sorted pointers for user owned index sets from SORT4

tape006

Symbolic device name of the SYS006 file

rrr006

Record size of the SYS006 file; should be the same as rrr005

bbb006

Block size of the SYS006 intermediate work file; should be the same as bbb005

&&sort

Data set name of the SYSPCH file containing sort parameters from IDMSTABX and IDMSDBL3

disk

Symbolic device name of the SYSPCH file

user.reldctl

Data set name of the reload control file containing control and set information

bbbctl

Blocksize of the RELDCTL file. It should be a multiple of 60 with a maximum size of 32,760.