!--------------------------------------------------------------------
!
!      DV_COS RESOURCE FILE
!
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file.
!
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 09/19/01 44435   Rose      Initial version
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 12/22/10 38534   MSwam     Change TASK to dv_cos
!
!--------------------------------------------------------------------

PROCESS_NAME = dv_cos		! Short name for process id
TASK = <dv_cos -p $PATH_FILE -r dv_costv>
CLASS = tv
DESCRIPTION = 'COS Data Evaluation'
SYSTEM = OPUS
INSTRUMENT  = COS
INST_CODE   = L
OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE	! Determined by PATH
INTERNAL_POLLING_PROCESS  =  TRUE   

OSF_RANK = 1			! First Trigger
OSF_TRIGGER1.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER1.DATA_ID = cos	! Also need the Data_id set to COS
OSF_TRIGGER2.DV = w		! Need a 'Wait' flag in Data Validation
OSF_TRIGGER2.DATA_ID = cdm	! Also need the Data_id set to COS Dump

OSF_PROCESSING.DV  = p		! Set the processing flag to 'Processing'

OSF_NORMAL.DV = c		! Normal: Completed Data Validation
OSF_NORMAL.CP = w		! Normal: Copy the aux files

OSF_DUMP.DV   = c		! Dump data: Completed Data Validation
OSF_DUMP.CP   = w		! Dump data: Copy the aux files

OSF_ERROR.DV  = e		! Error:  Set the trouble flag
OSF_HALT1.DV  = h		! Set the Halt flag	    

POLLING_TIME  = 10		! Wait (seconds) before polling for next 
INPATH        = COS_SIS_DIR	! Directory where the input files are found
OUTPATH       = COS_SIS_DIR	! Output directory for the ACS
MINBLOCKS     = 50000		! blocks required on output disk
EXTENSION     = .ulx		! This input file extension must exist

! forces values from path to be used

 ENV.OPUS_DB = OPUS_DB
 ENV.SPSS_DB = SPSS_DB
 ENV.DSQUERY = DSQUERY
