vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Could somebody help me out here please as I can't seem to find results for what I want to do using a Google search and the IBM DBAs have gone home. We're using DB2 V8.1 on z/OS 1.7. During my SAP upgrade, some tables have been flagged as needing indexes to be rebuilt. I think the command to display all the indexes needing to be rebuilt is: -DIS DB(*) SPACE(*) LIMIT(*) RESTRICT(RBDP) But, is there an easy way to use the output of this command to create a script to do ALTER INDEX '<schema_owner>'.<indexname> rebuild (or whatever the appropriate command is) Thanks, Declan. |