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

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

book

Article ID: 56714

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

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.

 

 

Environment

Release:   4.4 

Resolution

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 Librarian TechDocs:   System Services / Disk Master Files / Changing Master File Defaults

  •