How to check what views and tables are inoperative
syscat.tables - status
Apply the query below to find what views and tables are inoperative:
db2 "select substr(tabname,1,20) as TABLE, status, type from syscat.tables where status='X'"
db2 "select substr(tabname,1,20) as TABLE, status, type from syscat.tables where status='X'"
| TYPE | CHAR(1) | Type of object.
|
db2 "select substr(tabname,1,20) , status, type from syscat.tables \ where tabname = 'table_name'"
TABNAME STATUS TYPE Table_name N T 1 record(s) selected.