Using BMC AMI LOBMaster
Reorganizing a table space and cleaning up orphaned LOBs
To reorganize a table space, add the AUX keyword to the REORG TABLESPACE statement. To clean up orphaned LOBs, specify +LOBORPHANS(ERASE,MSG) in your RRGPARMS DD. Alternatively, you can configure this value for +LOBORPHANS as the system default.
//RRGPARMS DD *
+LOBORPHANS(ERASE,MSG)
//SYSIN DD *
REORG TABLESPACE NWDB.TSWLOB AUX
+LOBORPHANS(ERASE,MSG)
//SYSIN DD *
REORG TABLESPACE NWDB.TSWLOB AUX
If you specify +LOBORPHANS(ERASE,MSG), BMC AMI Reorg performs the equivalent of CHECK LOB, CHECK INDEX, CHECK DATA, and REPAIR to delete the orphans.
For more information about handling orphaned LOBs, see LOBORPHANS-action-message.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*