ZIPFOF


This process is stage 3 in the EDR Pipeline. It is an OSF triggered process and its purpose is to decompress FOF files that have been transferred from the CCS system to the EDR Pipeline. When a FOF Class OSF is set to "W" in the ZI stage column, the ZIPFOF process is triggered to invoke the "gzip –d -v" command on the compressed FOF file specified by the OSF. The “-d” option is to decompress (unzip) and the “-v” option generates verbose logging. Both the compressed and decompressed versions of the FOF file reside in the EDR_FOF_DIR during the decompression. Once the decompression is successfully completed, the compressed version of the file is delete automatically by gzip.  The MINBLOCKS keyword in the resource file is used to assure there is enough space in the EDR_FOF_DIR to perform the decompression.

ZIPFOF Process Modes

 
       zipfof -p $PATH_FILE –r zipfof (in task line of resource file)
 
              where: zipfof = command name
                         -p = denotes path file specification follows
                 $PATH_FILE = path supplied by pipeline
                         -r = resource name follows
                     zipfof = resource file name

ZIPFOF Process I/O

 
       INPUT:
          EDR_FOF_DIR: Tyyyydddhhmmss.mrg-gz  - compressed FOF files    
 
       OUTPUT:
          EDR_FOF_DIR: Tyyyydddhhmmss.done - uncompressed FOF Files
 

ZIPFOF Process Error Handling

Any errors that occur while decompressing a compressed FOF file cause the fof OSF to be set to "f" in the ZI stage column. Error messages are also posted to the ZIPFOF Process Log File in the OPUS_HOME_DIR