Build index fails with dataset not found when rebuilding archived index.
search cancel

Build index fails with dataset not found when rebuilding archived index.

book

Article ID: 44069

calendar_today

Updated On: 06-19-2024

Products

JMR

Issue/Introduction

Received a error message from the archival retrieval job :JMR175W ** SEQUENTIAL RETRIEVAL MODE USED - DAILY FILE MAY HAVE BEEN ALTERED 

The resolution is to rebuild the index file using the PK46BLDX job. However, this job is failing with a Data set not found message

 

Resolution

The failure is caused by the proc being setup for live production files and not archived files.

Below is a sample job that points to the archived files. 

. You must specify the JLOGFILE.ARC16005 to DAILYIN DD of PK46BLDX. (This is a sample)

. Change to the ARC&YYDDD from JMR&YYDDD as follow as;

 

SAMPLE JCL
//PK46BLDX JOB  'JMR INDEX REBUILD'
//*
//***************************************************************
//*
//CAPKBLDX PROC DPREFIX=JOBLOG.R46SP03,
//         YYDDD=YYDDD,                                 <== SEE NOTE ABOVE
//         STEPLIB='JMR.R46.SP3.CAILIB'
//STEP1    EXEC  PGM=PKBLDIDX
//STEPLIB  DD   DSN=&STEPLIB,DISP=SHR
//*DAILYIN DD   DSN=&DPREFIX..JMR&YYDDD,DISP=SHR       <<== FOR DAILY
//DAILYIN  DD   DSN=&DPREFIX..ARC&YYDDD,DISP=SHR        <<== FOR ARCHIVE  
//INDEXOUT DD   DSN=&DPREFIX..IND&YYDDD,DISP=SHR
//END      PEND