Description:
Executing Secondary Index Builder to rebuild primary and secondary indexes after recovering a main database.
FUNCTION=INDEXCREATE,DBDNAME=dbdname,INDD=DFSURWF1
The job is failing with error message IDI0500E I/O ERROR ON DFSURWF1 FILE
and also the SORT E35 exit routine terminates with messages
WER045C END SORT PHASE
WER135I TASK CALL/E35 TERMINATED PREMATURELY
How do we rebuild the indexes in this situation?
Solution:
The DFSURWF1 file defines the work file data set where records are written to build secondary indexes and resolve pointers in logical relationships.
FUNCTION=INDEXCREATE,DBDNAME=dbdname
This example does the following:
The E35 exit can not build the index because the default input file for Secondary Index Builder is a file in SIB file format.
If the input files are DFSURWF1 you must tell SIB that by specifying FILEFORMAT=DFSURWF1.
For the INDEXCREATE function in CA Secondary Index Builder, this control statement applies only when INDD is specified.
This control statement has the following format:
FILEFORMAT= DFSURWF1
Uses a file format that is compatible with the IMS work file format. Specify this option for the following functions: