VSI100E RC 12 FDBK 8 for Endevor MCF dataset
search cancel

VSI100E RC 12 FDBK 8 for Endevor MCF dataset

book

Article ID: 251371

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

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?

Environment

Release : 18.0

Component : Endevor

Cause

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.

Resolution

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:

  1. Use the REPRO Command to copy just the data component of the KSDS to a sequential
    data set. Specify the data component name (not the Cluster Name) in the REPRO INFILE
    parameter.
  2. Sort the sequential data set by key.
  3. DELETE and re-DEFINE the damaged cluster.
  4. REPRO from the Sorted Sequential File to the newly defined cluster. Record Management rebuilds the index component.

IMPORTANT: This procedure is not specific to endevor. It applies to any damaged VSAM KSDS file.