How to repair a pending state of an index IDX1?


The pending state is set when the image copy is required for the table space or when the INDEX is in rebuild status. In this case a COPY PENDING/ REBUILD PENDING flag is set. We can repair this state by using the below JCL step.

//STEP010 EXEC DSNUPROC
REPAIR SET INDEX IDX1 NORBDPEND

This utility can also be used to repair the tablespace. For this we can use the REPAIR SET TABLESPACE statement. This is followed by the name of index or tablespace.

Updated on: 12-Sep-2020

333 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements