Recreating the FATMEN RZ file directly

To restore the complete RZ file from ORACLE or SQL/DS, logon to the service machine of the group in question and type RESTORE. This exec currently extracts all active.Active files are those not marked for delete. File entries marked for delete are be recovered by resetting the active flag to Y. information from the ORACLE SQL/DS tables.

Extracting information from ORACLE or SQL/DS as FZ updates

If a small number of entries are to be restored, or the restored file is to be sent to a remote site, it may be convenient to send each entry as an FZ file to the server, with disturbing its normal operation. The program in PATCH FATO2F on the FATMEN PAM can be used for this purpose. The program reads a group name followed by a list of generic names from FORTRAN unit 5, i.e. the terminal or program stack unless overridden by a FILEDEF command. The generic names input may include a wild-card as shown below. The comments, delimited by an exclamation mark (!), should not be included in a real file and are only used here to help explain the various options. The routine FMUPDT (see on Page [more info]) may be used to group the updates together if required.

        Example of a file for restoring from ORACLE into FZ
                                  

CHARM2                                 ! Initialise for group CHARM2
//CERN/CHARM2/SPECIAL/R4248            ! Recover an individual entry
//CERN/CHARM2/TEST/*                   ! Recover a complete tree