How do I get a Librarian index report?

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

Decription:

 

Solution:

Using the sample jcl below will allow you to produce 3 different types of index reports for MVS.

********************************* Top of Data **********************************
//JOBCARD                                                               
//***************************************************************
//*   THIS SAMPLE JCL WILL CREATE AN INDEX REPORT OF A          *
//*   CA-LIBRARIAN MASTER FILE.                                 *
//***************************************************************
//STEP1       EXEC     PGM=AFOLIBR,PARM='NRJS,NJTA'
//SYSPRINT    DD       SYSOUT=*
//LIST        DD       SYSOUT=*
//INDEX       DD       SYSOUT=*
//OSJOB       DD       DUMMY
//MASTER      DD       DSN=YOUR.LIBR.MASTER,DISP=SHR
//SYSIN       DD       *
-OPT INDEX
/*
//
//* OPTIONAL REPORTS:
-OPT INDEX(S)
-OPT INDEX(M)
******************************** Bottom of Data ********************************