How to change the default parameters for an existing CA Librarian Master file.

Document ID : KB000056714
Last Modified Date : 14/02/2018
Show Technical Document Details

The default parameters for an existing Librarian Master File can be changed by using the -OPT REINIT option.

Acceptable parameters are COMPRESS=, NORESEQ OR RESQ, NOSEP or SEP, VAR or NOVAR, EXEC or NOEXEC, LIST or NOLIST, PR or NOPR, PUNCH, YESGO or NOGPO, YESSEQUPD or NOSEQUPD, YESBYPP or NOBYPP and ARCHIVE LEVEL.

 

This example changes the archive level of the Master file to 10:

//***************************************************************
//*   THIS SAMPLE JCL WILL USE AFOLIBR TO CHANGE THE            *
//*   INITIALIZATION SETTINGS OF A MASTER FILE.                 *
//*   ALL OPTIONS REMAINED INTACT UNLESS ALTERED BY THIS JOB.   *
//***************************************************************

//STEP1     EXEC     PGM=AFOLIBR,PARM='NRJS,NJTA'
//OSJOB     DD       DUMMY
//SYSPRINT  DD       SYSOUT=*
//LIST      DD       SYSOUT=*
//INDEX     DD       SYSOUT=*
//MASTER    DD       DSN=YOUR.LIBRARIAN.MASTERFILE,DISP=OLD
//SYSIN     DD       *
-OPT REINIT,ARC=10
/*
//

 

Refer to Chapter 3: Disk Master Files, Changing Master File Defaults in the System Services Reference Guide.