!--------------------------------------------------------------------
!
! PASCPY 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
! -------- ------  --------- -------------------------------------
! 11/02/99 39733   Ken S.    Created
! 10/24/01 44684             Standardized OPUS PDR pipeline version
! 01/30/02 45016   Goldst    Corrected OK_TO_UPDATE_DATABASE
! 07/10/02 46101   J.Baum    inserted .DANGLE for file status
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 01/12/05 48735   J.Baum    Remove unneeded optional keyword PREFIX
!--------------------------------------------------------------------

PROCESS_NAME = pascpy
TASK         = <pdrcpy -p $PATH_FILE -r pascpy>
DESCRIPTION  = 'PAS product notification message poller'
SYSTEM       = PDR
CLASS        = pas

OK_TO_UPDATE_DATABASE = OK_TO_UPDATE_DATABASE ! Determined by path file

INTERNAL_POLLING_PROCESS  =  TRUE   

FILE_RANK       = 1             ! First Trigger
FILE_OBJECT1    = *.pas_trans   ! File specification for searches
FILE_DIRECTORY1 = PDR_PASS_DIR  ! Polling directory

!File status
FILE_PROCESSING.DANGLE = _proc      ! Extension addition during processing
FILE_SUCCESS.DANGLE    = _done      ! Extension addition if normal processing
FILE_ERROR.DANGLE      = _bad       ! Extension addition if error
FILE_DUPLICATE.DANGLE  = _duplicate ! Extension addition if duplicate

!OSF status 
PAS_CREATE.DR    = p           !PAS file procesing.
PAS_COMPLETE.DR  = c           !PAS file completed
PAS_COMPLETE.DL  = c           !Trigger for osf_delete process
PAS_DUPLICATE.DR = d           !PAS file duplicate detected.
PAS_FAIL.DR      = e           !PAS file processing failed.

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

INPATH        = PDR_PASS_DIR    ! location of pass data files.
OUTPATH	      = PDR_HLD_DIR     ! Holding Tank directory.

MINBLOCKS     = 50000           ! blocks required on output disk

EXTENSION     = .pas_trans      ! PAS input file extension
RENAME        = N               ! Rename PASS file.
TIMES         = N               ! Update files_times relation.

! forces values from path to be used

 ENV.OPUS_DB = OPUS_DB
 ENV.DSQUERY = DSQUERY
