!-------------------------------------------------------------------------------
!
!      Pacor DATA SWAP RESOURCE FILE for Level Zero data
!
!      SWAP the PACOR/DDF data
!
!      This file is used to construct the trigger, error, and success status
!      fields in the observation status file for Unix.
!
!
!-------------------------------------------------------------------------------
!                          REVISION HISTORY
!-------------------------------------------------------------------------------
!            PR
! mm/dd/yy NUMBER Author     Description
! -------- ------ ---------- ---------------------------------------------------
! 01/27/98 35798  WMiller    Unix version
! 07/12/00 42044  WMiller    Prepare for UNIX Ops
! 05/24/05 50437  Sherbert   Remove DISPLAY_ORDER
! 09/01/05 53773  Sherbert   Add resource files, path template
!
!-------------------------------------------------------------------------------

PROCESS_NAME = SWAPLZ         ! Short name for process id
TASK = <pi_swap -p $PATH_FILE -r swaplz>
CLASS = pac
DESCRIPTION = 'PACOR file swapper for Level Zero data'
SYSTEM = PACOR

OSF_RANK = 1                  ! First Trigger
OSF_TRIGGER1.SW      = w      ! Need a 'Wait' flag in the swapper column
OSF_TRIGGER1.DATASET = lz_????????????????????    ! Level zero 

OSF_PROCESSING.SW    = p      ! Set the processing flag to 'Processing'
OSF_SWAPERR.SW       = e      ! Swapping had an error
OSF_SWAPDONE.SW      = c      ! Swapping is complete
OSF_SWAPDONE.CL      = w      ! Wait for cleanup

POLLING_TIME         = 30
INPATH               = OPUS_DDF_DIR  ! Source directory for the DDF data
OUTPATH              = LZ_POD_IN_DIR ! output pod files here
MINBLOCKS            = 500000        ! blocks required on output disk

ENV.OPUS_DB          = OPUS_DB
ENV.DSQUERY          = DSQUERY
ENV.OPUS_DDF_DIR     = OPUS_DDF_DIR
ENV.OPUS_RT_DIR      = OPUS_RT_DIR
