RECOVER-FD Command

The RECOVER-FD command recovers an item accidentally deleted by the Editor command FD. RECOVER-FD can recover only the most recently deleted item. RECOVER-FD must be used immediately after an FD command; otherwise, the item will not be recovered.

Format

RECOVER-FD

Description

RECOVER-FD prompts for the item-ID of the deleted item with the following prompt:

ENTER ITEM-ID *

If anything other than the item-ID of the deleted item is entered, the item-ID prompt displays again. If you type any characters after RECOVER-FD before you press ENTER, and then enter the correct item-ID at the prompt, the item is recovered, but it includes the characters you typed after RECOVER-FD.

An item cannot be recovered if another item has been deleted after it. If you press ENTER at the ENTER ITEM-ID * prompt, the item is not recovered and you return to TCL.

CAUTION

On an active system it may not be possible to recover the deleted item if the frames that contained the deleted item, which are returned to the available space table, are immediately used by another process.

 

NOTE

RECOVER-FD does not work with DE (DOC-EDIT).

Recovering A Deleted Item

The following example first opens the item T-COPY, lists its attributes, then accidentally deletes the item with FD. RECOVER-FD is entered immediately after the deletion, and the item is recovered and filed.

>ED MD T-COPY

TOP

.P

001 P

002 B9

EOI 002

.FD

'T-COPY' DELETED.

>RECOVER-FD

ENTER ITEM-ID *T-COPY

'T-COPY' FILED.