!-------------------------------------------------------------------------------
!
!      DP_DMP (DDFNSC) RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!   DATE     PR  Developer  Description
! -------- ----- ---------- ----------------------------------------------------
! 07/30/99 39511 Heller     Created for TRU64
! 01/14/00 39307 Heller     Use POD_ARCH_DIR in the path file
! 05/10/00 36852 MARose     Add SPSS_DB
! 05/22/00 39897 MSwam      Add PODNAMES_CHECK
! 08/21/00 41932 WMiller    Removed NS column status def
! 01/14/02 44949 Slowinski  allow for real time pods
! 06/17/02 45261 Slowinski  Make the podnames check path dependent
! 05/20/04 51278 Sherbert   Increase MINBLOCKS to 200 million blocks (100 GB)
! 06/24/04 51412 Sherbert   For PR 50437 Remove DISPLAY_ORDER
! 02/22/06 54699 MSwam      Parameterize to for tufnel,smalls,sthubbins
! 07/19/06 52625 Sherbert   Remove extraneous FILE_RANK entries
! 11/30/10 38534 MSwam      use new TASK name
! 09/18/12 72255 Sherbert   get rid of DSQUERY
!-------------------------------------------------------------------------------

PROCESS_NAME = DDFNSC		! Short name for process id
TASK = <dpu_partition_pod  -p $PATH_FILE -r dp_dmp>
CLASS = dmp
SYSTEM = OPUS

DESCRIPTION = 'Partition DDF NSC POD files'

INSTRUMENT = NSC

OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE	! Determined by PATH

FILE_RANK       = 1		! File Triggers
FILE_DIRECTORY1 = POD_IN_DIR	! Where the POD files start
FILE_OBJECT1    = ??_0000*.pod  ! File specification for searches
FILE_DIRECTORY2 = POD_IN_DIR    ! Where the RT POD files start
FILE_OBJECT2    = rt_xxxx*.pod  ! File specification for searches
FILE_PROCESSING = _proc		! Extension addition during processing
FILE_SUCCESS    = _done		! Extension addition if normal processing
FILE_ERROR      = _bad		! Extension addition if error
FILE_DUPLICATE.DANGLE  = _duplicate ! Ext addition if duplicate file event

OSF_PROCESSING.DP  = p		! Set the processing flag to 'Processing'
OSF_MISSING_PACKETS.DP  = m	! Error:  Set the trouble flag
OSF_ERROR.DP  = e		! Error:  Set the trouble flag
OSF_FATAL.DP  = f		! Error:  in ingest rule

OSF_SUCCESS.DP = c		! Normal: Completed Data Partitioning
OSF_SUCCESS.IN = n		!  queue up for archiving
OSF_SUCCESS.RQ = w		

POD_SUCCESS.DP = c		! Successfully processed the POD file
POD_SUCCESS.IN = c		!  and Queued up for archiving
POD_SUCCESS.RQ = w		! 
OSF_NO_ARCH.DP = c              ! Successfully processed POD file - no archiving
POD_ERROR.DP = e		! Error processing POD file
POD_INSERT_ERROR.DP = c		! Successfully processed POD file - Error
POD_INSERT_ERROR.IN = e		! inserting pod file into pipeline
POD_DUPLICATE.DP = d		! Duplicate POD file

PODNAMES_CHECK = PODNAMES_CHECK ! test for existing podnames db entries

POLLING_TIME  = 10		        ! Wait (seconds) before polling for next 

INPATH        = DMP_SIS_DIR	    ! Directory where the input files are found
OUTPATH       = DMP_SIS_DIR     ! checks for minblocks on this device
POD_ARCH_DIR  = POD_ARCH_DIR	! Where the POD files are archived from

MINBLOCKS 	  = big_MINBLOCKS ! blocks required on output disk
EXTENSION     = .pod		    ! This input file extension must exist

ENV.OPUS_DB = OPUS_DB
ENV.SPSS_DB = SPSS_DB
ENV.OPUS_SERVER = OPUS_SERVER
ENV.SPSS_SERVER = SPSS_SERVER


