Template:SQWareProduction sqwora PurgeAlert.ksh example

From Wiki_dbSQWare
Revision as of 21:36, 24 May 2011 by BatchUser (talk | contribs) (Updated by BatchUser)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

#Standard help for script sqwora_PurgeAlert.ksh:


$gvsqw_OraBin/sqwora_PurgeAlert.ksh -h
#Display online help for this script

$gvsqw_OraBin/sqwora_PurgeAlert.ksh -I $ORACLE_SID -NoMail
#Desactivate sendmail on error to $gvsqw_Mail_oracle (by default, send on error)

$gvsqw_OraBin/sqwora_PurgeAlert.ksh -I $ORACLE_SID -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_sqwora_PurgeAlert=<NumericValue>
#in configuration file $gvsqw_OraBin/../etc_cust/sqwora_GlobalVar.cfg