!-------------------------------------------------------------------------------
!
!  ASN_TABLE RESOURCE FILE
!
!  COS Association table 
!
!  This file is used to construct the trigger, error, and success 
!  status fields in the observation status file.
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
! mm/dd/yy  PR    Developer  Description
! -------- ------ ---------- ----------------------------------------------------
! 07/13/07 55484  MSwam      based on asnacs
! 09/18/12 72255  Sherbert   get rid of DSQUERY
!
!-------------------------------------------------------------------------------
CLASS = COS
SYSTEM = OPUS
PROCESS_NAME = asntbl             ! Short name for process id
TASK = <asn_table -p $PATH_FILE -r asncos>
DESCRIPTION = 'COS Association Tables'
OK_TO_UPDATE_DATABASE = BLANK     ! Set by the path file

OSF_RANK = 1                      ! First Trigger
OSF_TRIGGER1.DC    = a            ! Need a wait for ASN_TABLE in GC
OSF_TRIGGER1.DATA_ID = coa        ! Also need the Data_id set to ACA

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

OSF_NORMAL.DC      = c            ! Completed normally, say so.
OSF_NORMAL.GC      = n            !
OSF_NORMAL.OM      = n            !
OSF_NORMAL.BC      = w            ! Completed normally: wait for calibration

OSF_ERROR.DC       = e            ! Error:  Set the error flag

POLLING_TIME       = 20           ! Wait (seconds) before polling for next 
INPATH             = COS_CAL_DIR  ! Directory where the input files are found
OUTPATH            = COS_CAL_DIR  ! Directory where output files are written
MINBLOCKS          = 100000       ! blocks required on output disk
HEADER             = COS_ASSOCIATION_TABLE_HEADER
XHEADER            = COS_ASSOCIATION_TABLE_EXTENSION
EXTENSION          = *.trx        ! This input file extension must exist
PRODUCTS           = NONE         ! PRESENT/COMPLETE/NONE
ASNTBL_CLASS       = COS

ENV.OPUS_DB = OPUS_DB
ENV.SPSS_DB = SPSS_DB
ENV.OPUS_SERVER = OPUS_SERVER
ENV.SPSS_SERVER = SPSS_SERVER
ENV.ASSIST_SERVER  = ASSIST_SERVER
ENV.ASSIST_DB      = ASSIST_DB
ENV.PROP_SERVER    = PROP_SERVER
ENV.PROP_DB        = PROP_DB
