How to repair a pending state of an index IDX1?

DB2DatabaseBig Data Analytics

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.

raja
Updated on 12-Sep-2020 16:16:08

Advertisements