An MCF raises VSAM I/O error message during endevor execution
VSI100E RETURN CODE 0012 FEEDBACK CODE 0008 RECEIVED FROM GET MACRO FOR RPL CNTL BLOCK
How to fix that?
Release : 18.0
Component : Endevor
RC 12 with feedback code 8 in a VSAM GET macro maps to "Read I/O error for index set" and leads to suspicion of damage in the VSAM dataset, maybe only in the index component.
The first step would therefore be to run an IDCAMS EXAMINE on the MCF to ascertain the extent of the damage.
The JCL to run an EXAMINE is
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EXAMINE -
NAME(cluster.name) -
INDEXTEST -
DATATEST
/*
If EXAMINE output shows that only the index is damaged, then it is possible to recover the index by:
IMPORTANT: This procedure is not specific to endevor. It applies to any damaged VSAM KSDS file.