# This file demonstrates how environment variables can be used to control
# the operation of the cdbs tasks which access the database. This file is
# meant as AN EXAMPLE ONLY of how these values are set. The values set in 
# this file are the default values that will be used if these environment 
# variables are not set at all. So sourcing this script as is will have
# no effect on the operation of cdbs. If you wish to change the default
# action of cdbs, DO NOT modify this file. Instead, copy it to another
# directory, modify the copied file and source it. The environment 
# variables used in this script are:
#
# CDBS_SERVER	The machine running the database server
# CDBS_SERVER_2	The replicated server, used for reading from the database
# CDBS_DB	Database containg the cdbs relations
# DADS_DB	Database containing the dads relations
# DSQUERY	Variable used by Sybase to specify database server
#
# History:
# 06/12/02  45993  mss  changed to avoid using defaults if already defined
#
#--------------------------------------------------------------------------
if ! $?CDBS_SERVER then
  setenv CDBS_SERVER CATLOG
endif
if ! $?CDBS_SERVER_2 then
  setenv CDBS_SERVER_2 ZEPPO
endif
if ! $?CDBS_DB then
  setenv CDBS_DB cdbs_ops
endif
if ! $?DADS_DB then
  setenv DADS_DB dadsops
endif
setenv DSQUERY $CDBS_SERVER
