+LOBORPHANS(action,message)
A LOB orphan is an existing and complete LOB that is not referenced by a base table space row.
BMC AMI Reorg
detects orphans at the end of the base table space read phase.
action
ABEND or A | (default) This value tells BMC AMI Reorg to abend the reorganization. |
---|---|
ERASE or E | This value tells BMC AMI Reorg to remove the orphaned LOB entry from the LOB index and the LOB table space. |
IGNORE, IGN, or I | This value tells BMC AMI Reorg to leave the orphaned LOB in the LOB table space and complete the reorganization. |
message
MESSAGE, MSG, or M | (default) This value tells BMC AMI Reorg to print up to 50 error messages to SYSERROR, followed by messages for the total orphan counts. For a sample report, see Messages-to-the-SYSERROR-DD. |
---|---|
NOMESSAGE, NOMSG, or NOM | This value tells BMC AMI Reorg not to write error messages to SYSERROR. |
Example
The following example deletes the orphaned LOBs and issues messages to SYSERROR for each orphan:
The +LOBORPHANS(ERASE,MSG) parameter is the equivalent of running the following commands:
- CHECK INDEX
- CHECK LOB
- CHECK DATA ...SCOPE AUXONLY...LOBERROR REPORT
- (for each orphan found) REPAIR...LOCATE...ROWID...DUMP