Previous Topic: PUNCHNext Topic: REORG


RELOAD

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

//SYS001   DD  DSN=&&sortunld,DISP=SHR
//SYS002   DD  DSN=user.dbl002,DISP=(OLD,DELETE)
//SYS003   DD  DSN=user.dbl003,DISP=(OLD,DELETE)
//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)
//SYS007   DD  DSN=user.dbl007,DISP=(NEW,PASS),UNIT=tape007,
//             DCB=(RECFM=VB,LRECL=rrr007,BLKSIZE=bbb007)
//SYS008   DD  DSN=user.dbl008,DISP=(NEW,PASS),UNIT=tape008,
//             DCB=(RECFM=VB,LRECL=rrr008,BLKSIZE=bbb008)
//SYS009   DD  DSN=user.dbl009,DISP=(NEW,PASS),UNIT=tape009,
//             DCB=(RECFM=VB,LRECL=rrr009,BLKSIZE=bbb009)
//SYS010   DD  DSN=user.dbl010,DISP=(NEW,PASS),UNIT=tape010,
//             DCB=(RECFM=VB,LRECL=rrr010,BLKSIZE=bbb010)
//SYS011   DD  DSN=user.dbl011,DISP=(NEW,PASS),UNIT=tape011,
//             DCB=(RECFM=VB,LRECL=rrr011,BLKSIZE=bbb011)
//SYSPCH   DD  DSN=&&sortreld,DISP=(NEW,PASS),UNIT=disk,
//             SPACE=(TRK,1),DCB=BLKSIZE=80
//RELDCTL  DD  DSN=user.reldctl,DISP=SHR
//SORTMSG  DD  SYSOUT=A,DCB=BLKSIZE=bbbb
//SORTWK01 DD  UNIT=disk,SPACE=(TRK,(nnn,nnn))

Add additional SORTWKnn files as necessary

//userdb   DD  DSN=user.userdb,DISP=SHR

Additional existing database files assignments, as required

&&sortunld

Data set name of the sort parameters created by UNLOAD

user.dbl002

Data set name of the file put out by UNLOAD as SYS002

user.dbl003

Data set name of the file put out by UNLOAD as SYS003

user.dbl004

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

tape004

Symbolic device name of the SYS004 file

rrr004

Record size of the SYS004 file; should be the same as the record size for SYS002 used by UNLOAD

bbb004

Block size of the SYS004 intermediate work file; should be the same as the block size for SYS002 used by UNLOAD

user.dbl005

Data set name of the intermediate work file containing member descriptors for chained sets from IDMSDBL2

tape005

Symbolic device name of the SYS005 file

rrr005

Record size of the SYS005 file; for sizing information, see RELOAD

bbb005

Block size of the SYS005 intermediate work file; must be at least 48 bytes (the size of a member descriptor plus four bytes)

user.dbl006

Data set name of the intermediate work file containing member descriptors for user owned index sets from IDMSDBL2

tape006

Symbolic device name of the SYS006 file

rrr006

Record size of the SYS006 file; for sizing information, see RELOAD

bbb006

Block size of the SYS006 intermediate work file; must be at least 48 bytes (the size of a member descriptor plus four bytes)

user.dbl007

Data set name of the intermediate work file containing the output of SORT2

tape007

Symbolic device name of the SYS007 file

rrr007

Record size of the SYS007 file; should be the same as the larger of:

  • the record size for SYS003 used by UNLOAD
  • the record size for SYS006

bbb007

Block size of the SYS007 intermediate work file; must be at least as large as the larger of:

  • the block size for SYS003 used by UNLOAD
  • the block size for SYS006

user.dbl008

Data set name of the intermediate work file containing the reformatted index information from IDMSDBLX

tape008

Symbolic device name of the SYS008 file

rrr008

Record size of the SYS008 file; should be the same as rrr007

bbb008

Block size of the SYS008 intermediate work file; should be the same as bbb007

user.dbl009

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

tape009

Symbolic device name of the SYS009 file

rrr009

Record size of the SYS009 file; should be the same as the larger of:

  • the record size for SYS005
  • the record size for SYS008

bbb009

Block size of the SYS009 intermediate work file; must be at least as large as the larger of:

  • the block size for SYS003 used by UNLOAD
  • the block size for SYS006

user.dbl010

Data set name of the intermediate work file containing prefix pointer information from IDMSDBL3

tape010

Symbolic device name of the SYS010 file

rrr010

Record size of the SYS010 file; for sizing information, see RELOAD

bbb010

Block size of the SYS010 intermediate work file; must be at least 44 bytes (the size of a pointer descriptor plus four bytes)

user.dbl011

Data set name of the intermediate work file containing sorted prefix pointer information from SORT4

tape011

Symbolic device name of the SYS011 file

rrr011

Record size of the SYS011 file; should be the same as rrr010

bbb011

Block size of the SYS011 intermediate work file; should be the same as bbb010

&&sortreld

Data set name of the SYSPCH file

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 must be a multiple of 60 with a maximum size of 32,760.

userdb

DDname of the database file

user.userdb

Data set name of the database file