Previous Topic: RELOADNext Topic: RESTORE


REORG

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

When allocating the REORG control file or when running setup only

//RORGCTL  DD DSN=user.reldctl,DISP=(NEW,CATLG),
//            UNIT=disk,VOL=SER=nnnnnn,
//            DCB=(RECFM=FB,LRECL=8192,BLKSIZE=8192)

Manual creation of work files other than DBKEYS files

//wxnnnnn  DD DSN=user.workfile,DISP=(NEW,CATLG),
//            UNIT=disk,VOL=SER=nnnnnn,
//            DCB=(RECFM=VB,BLKSIZE=wrkbbb)

Manual creation of DBKEYS work files

//WDnnnnn  DD DSN=user.workfile,DISP=(NEW,CATLG),
//            UNIT=disk,VOL=SER=nnnnnn,
//            DCB=(RECFM=FB,LRECL=16,BLKSIZE=dbkbbb)

Manual references to work files

//wxnnnnn  DD DSN=user.workfile,DISP=SHR

File assignments when running the unload phase

//RORGCTL  DD DSN=user.reldctl,DISP=SHR
//RORGJCL  DD DSN=user.jclfile,DISP=SHR
//unlddb   DD DSN=user.unldfile,DISP=SHR

Additional database file assignments, as required if not using
dynamic allocation

Manual references to work files if not using dynamic
allocation

File assignments when running the reload phase

//RORGCTL  DD DSN=user.reldctl,DISP=SHR
//RORGJCL  DD DSN=user.jclfile,DISP=SHR
//relddb   DD DSN-user.reldfile,DISP=SHR

Additional database file assignments, as required if not using
dynamic allocation

Manual references to work files if not using dynamic
allocation

//SORTMSG  DD SYSOUT=A
//SORTWK01 DD UNIT=disk,SPACE=(CYL,(nnn,nnn))

Additional SORTWKnn files as necessary

user.reldctl

Data set name of the REORG control file containing control information

user.jclfile

Data set name of the file containing JCL for automatic job submission

wxnnnnn

DDname for a work file. It must match the name generated in the Unload/Reload Work File Summary report.

user.workfile

Data set name of a work file when manually allocating work files

wrkbbb

Blocksize for a variable blocked sequential work file

WDnnnnn

DDname for a DBKEYS file. It must match the name generated in the Unload/Reload Work File Summary report.

dbkbbb

Blocksize for a fixed-blocked, sequential DBKEYS file. Must be a multiple of 16.

disk

Symbolic unit name for a device

nnnnnn

Volume serial number

unlddb

DDname of the existing database file

user.unldfile

Data set name of the existing database file

relddb

DDname of the target database file

user.reldfile

Data set name of the target database file