Previous Topic: MAINTAIN INDEXNext Topic: PRINT INDEX


MERGE ARCHIVE

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

//SYS001  DD  DSN=idms.tjrnlold,DISP=(OLD,PASS),UNIT=tapein
//SYS002  DD  DSN=idms.tjrnlfix,DISP=(NEW,PASS),UNIT=tapeout,
//            DCB=BLKSIZE=bbbb
//JRNM01  DD  DSN=idms.tmrgold,DISP=(OLD,PASS),UNIT=tapein
//SORTMSG DD SYSOUT=A,DCB=BLKSIZE=bbbb
//SORTWK01 DD UNIT=disk,SPACE=(TRK,(nnn,nnn))

Add additional SORTWKnn files as necessary

idms.tjrnlold

Data set name of the input tape journal file

tapein

Symbolic device name of the input tape journal file

idms.tjrnlfix

Data set name of the output tape journal

tapeout

Symbolic device name of the output tape journal file

bbbb

Block size of the output tape journal file, as defined in the DMCL

idms.tmrgold

Data set name of the input tape merged file. If none exists yet, specify //JRNM01 DD DUMMY

Note: If the concatenated files have different block sizes, you must specify the following DCB parameter on the first file in the concatenation list:

DCB=(RECFM=VB,BLKSIZE=nnnn)

where nnnn is greater than or equal to (4 + the largest block size of any file in the concatenation list).