/*MAIN
 Overview
 
 GFST_CHECK_VOIDS is a sub-procedure of the reconstruction procedures GFST_PROCESS2,
    and GFST_PROCESS2_PWIW.
MAIN*/

/*ARGUMENTS
  Arguments
 
  GFST_CHECK_VOIDS takes the following arguments, all of which have an IN 
  parameter mode except for the following which have IN OUT argument mode:
  LOW_TIME, HIGH_TIME, NUM_MISSING, MAX_UMFC1, NMF.
   - LOW_TIME (NUMBER).

   - HIGH_TIME (NUMBER).

   - GFST (VARCHAR2).  This Argument represents the name of the Good Frames
     Statistics Table that was posted by Labview just prior to the onset of
     reconstruction.  Entries in the GFST were built and logged into a script
     file during processing of the annotated minor frames file by AD.

   - BFST (VARCHAR2).  This Argument represents the name of the bad Frames 
     Statistics Table that was posted by Labview just prior to the onset of 
     reconstruction.  Entries in the BFST were built and logged into a script
     file during processing of the annotated minor frames file by AD.

   - NUM_MISSING (INTEGER).  

   - NEW_MFP1 (NUMBER).

   - MAX_UMFC1 (INTEGER).

   - NEW_FP_UMF_DATETIME1 (NUMBER).

   - NMF (INTEGER).

   - NEW_CDM1 (NUMBER).

   - NEW_MFDP1 (NUMBER).

   - NEW_FP_UMFGR_DATETIME1 (NUMBER).

   - LOOP_INDEX (INTEGER).

   - MAX_CDM2 (INTEGER).

   - MAX_DISC2 (INTEGER).
ARGUMENTS*/

/*DEPENDENCIES
 Dependencies
 
 The following are the procedures called by GFST_CHECK_VOIDS (listed in their
 order of call):
   - SWITCH.  This is the package that manipulates the switches for all
     the reconstruction rules.

   - RULES_STATES.  This is a package of three procedures and one function all
     of which track and post reconstruction states for all rules as they become
     available, in the temporary table LOGT.

   - RULE.  This is the stored package that manipulates the reconstruction rules
     numbers, name and version number.

   - OPEN_AND_PARSE.  This function combines what would otherwise have
     been separate calls to the native Oracle DBMS_SQL.OPEN_CURSOR and
     DBMS_SQL.PARSE procedures, into a single function.

   - DBMS_SQL.  This the native Oracle dynamic SQL package.

   - CONFIG.  This is the stored package that manipulates the configuration
     parameters for all the reconstruction rules.

   - GFST_EX_INSERT_TIME.

   - LOG_FILE.  This is a package of procedures which handle the tasks of
     creating the file in which reconstruction output messages will be written
     to, writing to the latter file, and closing it at the end of
     reconstruction.

   - POST_STATE.  This is a package of three procedures and one function all
     of which serve the role of writing the states of all rules as they become
     available, in the system_state table.
DEPENDENCIES*/

/*VARIABLES
 Variables

 The following are variables used in the procedure:
   - C and D (INTEGER). Cursor handles.

   - EXECUTE1 (INTEGER).  The number of rows processed by the SQL statement
     if that statement is an UPDATE, INSERT, or DELETE.  If the SQL statement is
     not an UPDATE, INSERT, or DELETE, this value should be ignored.

   - TIME1 (NUMBER).  

   - TIME2 (NUMBER).

   - LOW_TIME_ORIG (NUMBER).

   - HIGH_TIME_ORIG (NUMBER).

   - NUM_MISSING_ORIG (NUMBER).

   - NEW_GRT_BASE (NUMBER).

   - DIFF (NUMBER).  
VARIABLES*/

/*EXAMPLES
  Examples
 
  Here is a call to GFST_CHECK_VOIDS:
 
   BEGIN
       GFST_CHECK_VOIDS ('PWIW1997287095646983GOOD','PWIW1997287095644634BAD');
   END;
   /
 
 The arguments of this procedure are passed in from rule GFST_PROCESS2 or
 rule GFST_PROCESS2_PWIW.
EXAMPLES*/

/*EXCEPTIONS
 Exceptions

 There are no named exceptions for this procedure, except for the generic one
   WHEN OTHERS.  When the latter is triggered, the error message is outputted
   along with the name of the module that erred, and any cursors that may still
   be opened are closed.  
EXCEPTIONS*/

/*ERRORS
 Errors

 There are no errors that this procedure is known to generate.  Should an
   error occur, take action based on the description of the error.
ERRORS*/

/*TABLES
 Tables
 
 The following tables are referenced in this procedure:
  - GFST. This is the Good Frames Statistics Table that was posted by
    AD just prior to the onset of reconstruction.

  - BFST. This is the Bad Frame statistics Table that was posted by AD
    just prior to the onset of reconstruction.

 For more information on these and other tables, see the documentation on tables.
TABLES*/

/*OTHERS
 Others
 
 It should be noted that 

 For more details on this procedure see the reconstruction documentation.
OTHERS*/
