Difference between revisions of "Template:SQWareProduction sqwrs GlobalVar.cfg content"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 4: | Line 4: | ||
#!/bin/ksh | #!/bin/ksh | ||
################################################################### | ################################################################### | ||
− | # SQWareProduction for SybaseRs module of dbSQWare | + | # SQWareProduction for SybaseRs module of dbSQWare |
− | |||
− | |||
− | |||
− | |||
− | |||
# | # | ||
# dbSQWare is distributed in the hope that it will be useful, | # dbSQWare is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
− | # | + | # CGU/CGA for more details. |
# | # | ||
− | # You should have received a copy of the | + | # You should have received a copy of the CGU/CGA |
− | # along with this program. If not, see <http://www. | + | # along with this program. If not, see <http://www.dbsqware.com/licenses/>. |
# | # | ||
# For information : contact@dbsqware.com or www.dbsqware.com | # For information : contact@dbsqware.com or www.dbsqware.com | ||
################################################################### | ################################################################### | ||
## @Synopsis Global var for SybaseRs | ## @Synopsis Global var for SybaseRs | ||
− | ## @Copyright Copyright 2010- | + | ## @Copyright Copyright 2010-2018, dbSQWare (www.dbsqware.com) |
− | |||
#global | #global |
Revision as of 18:36, 22 December 2017
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-2018, dbSQWare (www.dbsqware.com) #global 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' ##Globaly forcing return code for scripts #export gvsqw_ForcedReturnCodeScript_sqwrs_GatherIndicators=0