How do I get a Librarian index report?
search cancel

How do I get a Librarian index report?

book

Article ID: 53710

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

How to get a Librarian index report?

 

Environment

Release:
Component: C21E

Resolution

 

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 ********************************