       --
       -- Verify the parameters
       --
-      IF opr$oracle.global_utils.is_numeric (p_chan_id) = FALSE
-      THEN
+      IF opr$oracle.global_utils.is_numeric (p_chan_id) = FALSE THEN
          raise_application_error (
             -20010,
             'The channel id must be numeric or not null');
       END IF;
 
-      IF p_start_time IS NULL OR p_end_time IS NULL
-      THEN
+      IF p_start_time IS NULL OR p_end_time IS NULL THEN
          raise_application_error (-20010,
                                   'The start and end time must be specified');
       END IF;
 
-      IF opr$oracle.global_utils.is_numeric (p_reduction_nbr) = FALSE
-      THEN
+      IF opr$oracle.global_utils.is_numeric (p_reduction_nbr) = FALSE THEN
          raise_application_error (
             -20010,
             'The reduction number be numeric or not null');

CREATE OR REPLACE PACKAGE               archive_reader_pkg
AS
   /******************************************************************************
      NAME:       archive_reader

            INTO v_count
            USING p_chan_id, p_start_time, p_end_time;
      EXCEPTION
         WHEN USER_CANCEL THEN
            RAISE;
         WHEN OTHERS THEN
            opr$oracle.global_utils.v_program :=
               'CHAN_ARCH_SNS.archive_reader_pkg.get_count_by_date_range';
            opr$oracle.global_utils.v_errornum := SQLCODE;
            opr$oracle.global_utils.v_errortxt := SUBSTR (SQLERRM, 1, 200);
            opr$oracle.global_utils.
             log_error (opr$oracle.global_utils.v_program,
                        opr$oracle.global_utils.v_errornum,
                        opr$oracle.global_utils.v_errortxt);
            RAISE;
      END;

