!--------------------------------------------------------------------
!
!  REPLAN RESOURCE FILE
!
!       This file is used to define various values for the Update
!       Support Schedule Tables process.
!
!--------------------------------------------------------------------
!                          REVISION HISTORY
!--------------------------------------------------------------------
!            PR
!   DATE   NUMBER  User      Description
! -------- ------  ------    --------------------------------
! 10/24/01 44684   Goldst    Created initial version
! 03/11/02 45016   Goldst    Added OSF_TRIGGER1.DATA_ID
! 02/13/03 47570   J.Baum    Change exit status values
! 05/01/03 48515   J.Baum    Add env SLEEP_TIME
! 06/24/04 51412   Sherbert  For PR 50437 Remove DISPLAY_ORDER
! 01/13/05 48735   J.Baum    Add env MAX_RETRIES - cleanup
! 09/18/12 72255   Sherbert  get rid of DSQUERY
!--------------------------------------------------------------------

PROCESS_NAME = replan
TASK         = <xpoll -p $PATH_FILE -r replan>
DESCRIPTION  = 'Process a replan SMS'
COMMAND      = check_replan_msc.pl
SYSTEM       = PDR
CLASS        = msc

OSF_RANK             = 1    ! First trigger
OSF_TRIGGER1.RP      = w    ! Need a 'wait' flag for replan
OSF_TRIGGER1.DATA_ID = msc  ! Trigger class ID
OSF_PROCESSING.RP    = p    ! Set the processing flag to 'Processing'
OSF_SUCCESS.RP       = c    ! Complete: Completed replan processing
OSF_SUCCESS.UP       = w    ! Complete: Set trigger for UPDATR
OSF_FAIL.RP          = f    ! Error:  Set the trouble flag

XPOLL_ERROR.RP       = x    ! Undefined exit status

XPOLL_STATE.07     = OSF_FAIL      ! exit status 7 == OSF_FAIL state
XPOLL_STATE.09     = OSF_SUCCESS   ! exit status 9 == OSF_SUCCESS state

POLLING_TIME = 10           ! Time to wait between polls

ENV.MSC_DIR = PDR_MSC_DIR   ! location of MSC pod file

! Replication verification paramters - used when observation list is present
ENV.SLEEP_TIME  = PDR_REPLAN_SLEEP_SECS  ! OK if not in NULL path
ENV.MAX_RETRIES = PDR_REPLAN_MAX_RETRIES ! OK if not in NULL path

! forces values from path to be used - overriding login values (is this true? I think not)
! 9/19/11 - at this time, both DBs accessed from same server

ENV.OPUS_SERVER = OPUS_SERVER
ENV.OPUS_DB = OPUS_DB
ENV.SPSS_DB = SPSS_DB

