The following error messages returned when initializing an existing Librarian master file using DISP=SHR/OLD and the -OPT INIT and/or the -OPT BKUPDISK cards.
*** ERROR *** MASTER FILE CANNOT BE INITIALIZED AS NOT NEW FILE. (The case of -OPT INIT) *** ERROR *** BACKUP FILE CANNOT BE INITIALIZED AS NOT NEW FILE. (The case of -OPT BKUPDISK)
Component: Librarian
After R4.3 + PTF QO93714 or R4.4, in order to prevent the corruption of master file, initialization process of a Librarian master file using DISP=SHR/OLD returns an error.
When you initialize a master file, you need to create a new master file by using DISP=NEW.
Also, when you want to change only the parameter setting for your existing master file, you need to use the -OPT REINIT.
You can still initialize the master file using DISP=SHR/OLD after applying the following special solutions.
If you need these special solutions, please contact Broadcom support.
For R4.3/SO05 - RO06895 + RS06899
For R4.4 - RS40536
The following are the sample JCLs for master file initialization with DISP=SHR/OLD.
Sample for -OPT INIT:
// JOB //STEP01 EXEC PGM=AFOLIBR //STEPLIB DD DISP=SHR,DSN=your CA-Librarian load library //SYSPRINT DD SYSOUT=* //MASTER DD DISP=SHR,DSN=your CA-Librarian Master file <= your existing master file //OSJOB DD DUMMY //SYSIN DD * -OPT INIT,DISK,COMPRESS=FULL,SEQ=/1,6,10,10/,ARC=10 /* //
Sample JCL for -OPT BKUPDISK:
// JOB //STEP01 EXEC PGM=AFOLIBR,PARM='NRJS,NJTA' //STEPLIB DD DISP=SHR,DSN=your CA-Librarian load library //SYSPRINT DD SYSOUT=* //INDEX DD SYSOUT=* //MASTER DD DISP=SHR,DSN=your CA-Librarian Master file //OSJOB DD DUMMY //BACKUP DD DISP=SHR,DSN=your CA-Librarian BACKUP Master file <= your existing master file //SYSIN DD * -OPT BKUPDISK,INDEX /* //