!--------------------------------------------------------------------
!
!      	ASN_TABLE RESOURCE FILE
!
!	STIS Association table 
!
!      	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
! -------- ------  --------- -------------------------------------
! 12/17/98 37348   Rose      Created 
! 02/23/99 38520   Rose      Correct the datatype
! 07/14/99 38930   Rose	     Copied for the STIS from the ACS
! 09/02/99 38930_05 Rose     Use SIS directory for input dir
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
!
!--------------------------------------------------------------------
CLASS = STI
SYSTEM = OPUS
PROCESS_NAME = asntbl           ! Short name for process id
TASK = <asn_table -p $PATH_FILE -r asnsti>
DESCRIPTION = 'STIS Association Tables'
OK_TO_UPDATE_DATABASE = BLANK   ! Set by PATH

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

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

OSF_NORMAL.DC      = c          ! Completed normally: wait for GC
OSF_NORMAL.GC      = w          ! Completed normally: wait for GC

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

POLLING_TIME       = 20         ! Wait (seconds) before polling for next 
INPATH             = STI_SIS_DIR     ! Directory where the input files are found
OUTPATH            = STI_CAL_DIR     ! Directory where output files are written
MINBLOCKS          = 100000      ! blocks required on output disk
HEADER		   = STIS_ASSOCIATION_TABLE_HEADER
XHEADER		   = STIS_ASSOCIATION_TABLE_EXTENSION
PRODUCTS	   = PRESENT    ! PRESENT/COMPLETE/NONE

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