Restoring deleted members

The Restore line and main command restores deleted members.

To see which members have been deleted, sort the MAP list by SYNONYM or NAME. Either method places the deleted members (which have a blank NAME and a non-blank SYNONYM) at the top of the list. The only difference is that when you sort by SYNONYM, the most-recently created member is at the top of the list. This is more likely to be a member that you want to restore.

To restore a member so that it has the value of SYNONYM as its NAME, enter the R line command against the entry, or nominate the member in a restore range on the R main command.


R 5    - restores deleted member with sequence number 5
R 4-7  - restores deleted members with sequence number 4 through 7
R 9-*  - restores deleted members with sequence number 9
         to the end of deleted members

If you nominate a range, and the range includes current (not-deleted) members, then the deleted members in the range are restored, but nothing happens to the current members.

If you restore a range of members, you can then sort the MAP list by descending name (SORT N D), and the restored members (which have names beginning with 9Z) are displayed at the top of the list. You can now rename them.

To restore a member and give it a name (different from the SYNONYM), enter the line command R name against the entry, or the main command R sequence_number name. The name must be unique.

Note: Deleted members are lost after a COMPRESS.