Disk Master File Copy

Wide record master files do not support BKUPDISK and RESTORE. You must use an external PDS utility, such as the IBM IEBCOPY. For more information on IEBCOPY, see the Security Administration section. Since rapid program inventory expansion makes it extremely difficult to estimate disk master file size or block size requirements accurately, it might be necessary to copy your master file to a larger area on another direct access device having the same or different track capacity.
cl
Wide record master files do not support BKUPDISK and RESTORE. You must use an external PDS utility, such as the IBM IEBCOPY. For more information on IEBCOPY, see the
Security Administration section.
Since rapid program inventory expansion makes it extremely difficult to estimate disk master file size or block size requirements accurately, it might be necessary to copy your master file to a larger area on another direct access device having the same or different track capacity.
To request a copy of the master file, use the BKUPDISK operand in the - OPT statement for that execution. The copied file is an
CA Librarian
disk master that the BACKUP DD statement defines. If the BACKUP DD statement does not define a disk extent, an error message is issued.
The default block size for a backup disk is the same as the default block size for the master file if the backup device and the master file device are the same. If the backup disk device is different from the master file, the default is the next larger block size for the backup device. For example, if the master file is on a 3330 with a block size of 1180 and you are backing up a 3380 disk device, the default block size for the backup disk is 1044.
You cannot change master file defaults using BKUPDISK because it produces an exact copy of the master file. -OPT RESTORE works only for BKUPTAPE. BKUPDISK produces a copy that is useable as a Master File.
BDAM Example
The following shows the control statements required to perform a BDAM master file copy. You can specify the BKUPDISK operand during any
CA Librarian
update. This job also produces an index of the original master file.
//jobname JOB 70000,PGMR,CLASS=0 // EXEC PGM=librarian,PARM='NRJS,NJTA' //MASTER DD DSN=bdam.master.file1,DISP=SHR //OSJOB DD DUMMY //BACKUP DD UNIT=DISK,DSN=bdam.master.file2, // SPACE=(CYL,90),DISP=(,CATLG), // DCB=(BLKSIZE=1180,DSORG=DA), // VOL=SER=volser //SYSPRINT DD SYSOUT=A //INDEX DD SYSOUT=A //LIST DD SYSOUT=A //SYSIN DD * -OPT BKUPDISK,INDEX /* //
VSAM Example
To perform a VSAM master file copy, you must first use IDCAMS to define the VSAM cluster to use for the new master file. The following shows the control statements required to perform a VSAM master file copy.
//jobname JOB 70000,PGMR,CLASS=0 // EXEC PGM=librarian,PARM='NRJS,NJTA' //MASTER DD DSN=vsam.master.file1,DISP=SHR //OSJOB DD DUMMY //BACKUP DD DSN=vsam.master.file2,DISP=SHR A //SYSPRINT DD SYSOUT=A //INDEX DD SYSOUT=A //LIST DD SYSOUT=A //SYSIN DD * -OPT BKUPDISK,BLOCKS=nnnnn /* //
Note the following item:
  • A -- Specify the VSAM cluster IDCAMS previously defined.