Is there a CA Librarian utility or another way to identify all CA Librarian Master files on a system?

book

Article ID: 37360

calendar_today

Updated On:

Products

CA Librarian

Issue/Introduction

Question:

Is there a CA Librarian utility or another way to identify all CA Librarian Master files on a system? 

 

Answer:

Unfortunately, there is no CA Librarian utility to read the system catalogs and identify CA Librarian Master files. 


However, you can run a CA Librarian Master Index Statistical report against a file and see if it is a Master file -- 

//INDEX EXEC PGM=AFOLIBR,PARM='NRJS,NJTA' 
//SYSPRINT DD SYSOUT=* 
//INDEX DD SYSOUT=* 
//MASTER DD DISP=SHR,DSN=LIBR.V44.LVL1.PRODMAST 
//OSJOB DD DUMMY 
//SYSIN DD * 
-OPT INDEX(S) 
-END 
//* 



If the file is not a CA Librarian Master file, it will return a LIBR0003E error -- 

LIBR0003E MASTER FILE MASTER IS INVALID OR HAS NOT BEEN INITIALIZED. 

 

Additional Information: 

Traditional Librarian Master files can be BDAM or VSAM organization; Wide Record Master files are PDS or PDS/E organization,  so we cannot eliminate any files based on organization. 

Environment

Release: LIB-AM00200-4.4-CA-Librarian-Access Method
Component: