VMS Help SET, FILE, /RU_FACILITY, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1.$ SET FILE/RU_FACILITY=1/NORU_JOURNAL/NOAI_JOURNAL/LOG SAVINGS.DAT %SET-I-FILUNMARKAI, $DISK1:[PERSONAL]SAVINGS.DAT;1 unmarked for RMS after-image journaling %SET-I-FILUNMARKRU, $DISK1:[PERSONAL]SAVINGS.DAT;1 unmarked for RMS recovery-unit journaling %SET-I-MODIFIED, $DISK1:[PERSONAL]SAVINGS.DAT;1 modified $ DELETE SAVINGS.DAT;* This example shows the use of the /RU_FACILITY qualifier to allow SET FILE access to a data file. The SET FILE command identifies the recoverable facility holding the file and it also unmarks the file for recovery unit and after-image journaling. After these steps, it is then possible to delete the data file. CAUTION If it becomes necessary to use the /RU_FACILITY qualifier because of active recovery units, the data in the file may be inconsistent. Compaq recommends that you not use the data file unless you can verify that the data is consistent. Compaq also recommends that you make a new copy of the file using the Convert Utility and that you use the converted copy in place of the original. 2.$ SET FILE/RU_FACILITY=RMS/RU_ACTIVE=0 SALES.DAT In this example, the recoverable facility for the file SALES.DAT is identified as RMS by the /RU_FACILITY=RMS qualifier, and the RU active file attribute (which indicates active RMS recovery units) is cleared by the /RU_ACTIVE=0 qualifier. If the file SALES.DAT is unavailable due to active recovery units and an unavailable recovery unit journal, you can use this command to gain access to the file. As in the previous example, this operation leaves the data file in an inconsistent state. In general, use this command to delete the data file, then restore the file from a backup copy.
|