Example: Deleting all damaged objects in the "root" (/), QOpenSys, and mounted user-defined file systems

 

In this situation, a disk failure caused a number of objects to become damaged. You must delete the damaged objects so that a backup copy of the objects can be restored from media.

To delete the damaged objects, use this command:

RCLLNK OBJ('/') SUBTREE(*ALL) DMGOBJOPT(*DELETE *DELETE)

The damaged objects are deleted without disruption to normal file system operations. In addition, problems other than damage are corrected as the damaged objects are being deleted.

 

Parent topic:

Examples: Reclaim Object Links (RCLLNK) command