Problem:
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. Here is a sample you can use for your environment that points to the archived files. Remember to make appropriate naming convention changes for your system.
You must specify the JLOGFILE.ARC16005 to DAILYIN DD of PK46BLDX. (This is a sample)
Please 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