+----------------------------------------------+ |CALL HDBFRFZ (PATH,LUN,NSKIP,KEYS,CHOPT,IRC*) | +----------------------------------------------+
An FZ file created using the routine HDBTOFZ or the routines HDBMERG or HDBFRRZ. In the special case that the FZ file contains the contents of a complete database, using the option HDBTOFZ, a new database file should be created using the routine HDBNEW before calling this routine. In all other cases, the data is entered into the subdirectory specified by the path PATH, or else the subdirectory tree stored is added at the level specified by the path PATH. This routine may also be used to process FZ files that are not written by one of the HEPDB routines. For example, an FZ file containing a single datastructure may be read in and entered into the database in the directory specified by the variable PATH with the period of validity as specified by ISEL.
Clearly, if the FZ file contains a database or directory tree, the validity of the recovered records is the same as those originally stored. However, when the FZ file contains a single record extracted from a database previously, or a completely new ZEBRA structure, then the validity may be specified. If the validity has been stored with the record, then this may be retrieved and applied. If the record contains a start-of-run record, the option R must be used.