!--------------------------------------------------------------------
!
!      	ASN_TABLE RESOURCE FILE
!
!	ACS Association table 
!
!      	This file is used to construct the trigger, error, and success 
!	status fields in the observation status file.
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
! mm/dd/yy NUMBER  User      Description
! -------- ------  --------- -------------------------------------
! 12/17/98 37348   Rose      Created 
! 02/23/99 38520   Rose      Correct the datatype
! 07/13/99 38930   Rose	     Set the PRODUCTS flag
! 09/09/99 38930_06 Rose     Add OK_TO_UPDATE_DATABASE
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 09/18/12 72255   Sherbert  get rid of DSQUERY
!
!--------------------------------------------------------------------
CLASS = ACS
SYSTEM = OPUS
PROCESS_NAME = asntbl           ! Short name for process id
TASK = <asn_table -p $PATH_FILE -r asnacs>
DESCRIPTION = 'ACS 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 = aca      ! 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             = ACS_CAL_DIR     ! Directory where the input files are found
OUTPATH            = ACS_CAL_DIR     ! Directory where output files are written
MINBLOCKS          = 100000      ! blocks required on output disk
HEADER		   = ACS_ASSOCIATION_TABLE_HEADER
XHEADER		   = ACS_ASSOCIATION_TABLE_EXTENSION
EXTENSION          = *.trx	! This input file extension must exist
PRODUCTS	   = NONE	! PRESENT/COMPLETE/NONE
ASNTBL_CLASS       = ACS

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
