Template:SQWareProduction sqwsyb CheckIndicators.ksh example

From Wiki_dbSQWare
Revision as of 21:36, 24 May 2011 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

#Standard help for script sqwsyb_CheckIndicators.ksh:


$gvsqw_SybBin/sqwsyb_CheckIndicators.ksh -h
#Display online help for this script

$gvsqw_SybBin/sqwsyb_CheckIndicators.ksh -S $DSQUERY -NoMail
#Desactivate sendmail on error to $gvsqw_Mail_sybase (by default, send on error)

$gvsqw_SybBin/sqwsyb_CheckIndicators.ksh -S $DSQUERY -FRT <NumericValue>
#Force return code to '<NumericValue>' on error (if no error, exit 0!)
#You can also force return code of this script on all your
#environnement if you set the variable: $gvsqw_ForcedReturnCodeScript_sqwsyb_CheckIndicators=<NumericValue>
#in configuration file $gvsqw_SybBin/../etc_cust/sqwsyb_GlobalVar.cfg