Template:SQWareProduction sqwrs GlobalVar.cfg content

From Wiki_dbSQWare
Revision as of 17:38, 15 September 2024 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to: navigation, search


File content:

#!/bin/ksh
###################################################################
# SQWareProduction for SybaseRs module of dbSQWare
# 
# dbSQWare is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# CGU/CGA for more details.
# 
# You should have received a copy of the CGU/CGA
# along with this program.  If not, see <http://www.dbsqware.com/licenses/>.
# 
# For information : contact@dbsqware.com or www.dbsqware.com
###################################################################
## @Synopsis	Global var for SybaseRs
## @Copyright	Copyright 2010-2024, dbSQWare (www.dbsqware.com)

#global
export gvsqw_SqwVersionDbms=2024.06
export gvsqw_SaUser='sa'
export gvsqw_PasswdFile="$HOME/.passwd"
export gvsqw_GlobalInterfacesFile='$SYBASE/interfaces'
export gvsqw_RootAdmin='$HOME/${DSQUERY}'
export gvsqw_RootAdminDisable='$HOME'
export gvsqw_RootAdminDist='$HOME/admin/sybrep/${DSQUERY}'
export gvsqw_RootCfg='$gvsqw_RootAdmin/sqwConfig'
export gvsqw_RootDev='/$(echo $HOME|cut -d/ -f2)/data/${DSQUERY}'
export gvsqw_RunFile='$HOME/${DSQUERY}/runfile/RUN_${DSQUERY}'
export gvsqw_RunFilePath='$HOME/${DSQUERY}/runfile'
export gvsqw_ConfigFilePath='$HOME/${DSQUERY}/cfg'
export gvsqw_ErrorLogPath='$HOME/${DSQUERY}/log'
export gvsqw_ErrorLog='$HOME/${DSQUERY}/log/${DSQUERY}.log'

#for indicators
#PK for indicators, if DSQUERY not unique, put for example gvsqw_DbAlias='$DSQUERY:$(hostname|cut -d '.' -f1)'
export gvsqw_DbAlias='$DSQUERY'
#Put for distant connection (indicators, ...)
export gvsqw_DistGlobalInterfacesFile='$HOME/dbSQWare/SQWareCentral/etc_cust/dbsqware_interfaces'
export gvsqw_PathList="HOME;gvsqw_RootAdmin;gvsqw_RootCfg"
export gvsqw_PathListExtra=""

##Globaly forcing return code for scripts
#export gvsqw_ForcedReturnCodeScript_sqwrs_GatherIndicators=0