The SET FILE/RU_FACILITY command allows you to identify the
recoverable facility that controls active recovery units on the
file. You can use any other SET FILE qualifier with the /RU_
FACILITY qualifier.
When a data file has active recovery units and RMS journaling
cannot resolve the recovery units (for example, if the recovery
unit journal is unavailable), the data file cannot be opened
or deleted. The presence of active recovery units prevents you
from unmarking (or marking) a file for any journaling type. With
the SET FILE/RU_FACILITY/RU_ACTIVE command, you can clear the
designated recoverable facility that controls active recovery
units for the data file.
CAUTION
When you clear the RU_FACILITY attribute (with the command
SET FILE/RU_ACTIVE=0/RU_FACILITY=1), the data in the file is
likely to be in an inconsistent state. Do not use the data
file unless you can ensure that the data is consistent.
After clearing the RU_ACTIVE attribute, you can unmark
the file for journaling, delete the file, and re-create a
consistent file using a backup copy.
You can determine the recoverable facility that controls active
recovery units (if any) for the file by entering the DCL command
DIRECTORY/FULL or DUMP/HEADER. You can use the ANALYZE/RMS_
FILE/RU_JOURNAL command to determine the state of any active
recovery units.