How can the MCD code on a CA Librarian Master file be changed?

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

All our Librarian Master files have the same MCD except this one QA library.  We want to change the MCD on this one QA library to be the same as all the other Masters. 

Question:

How can the MCD code on a CA Librarian Master file be changed?

Answer:

Run a batch job that inputs the current MDC code (base code + today's date) and specifying the new MCD code (the new base you want + today's date). 

//LIBR      EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'  
//MASTER DD DSN=your.master.file,DISP=SHR 
//SYSPRINT DD SYSOUT=* 
//INDEX DD SYSOUT=* 
//OSJOB DD DUMMY 
//SYSIN DD * 
-OPT 
-MCD oldmcd,newmcd 
-END 
/*

 

If the Master file is part of a CCF Library Chain, you need to update CCF with the new MCD code as well.

See TEC1223567 for instructions on how to update the Library Definitions in CCF.  

Additional Information:

For more information, see 'Changing the Code' in Chapter 2: Setting up MCD Security of the CA Librarian Security Administration Guide