Modèle:SQWareProduction sqwsyb CheckstorageDatabase.ksh example : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Ligne 1 : | Ligne 1 : | ||
<pre> | <pre> | ||
− | Sourcing sqwsyb_Global.lib v2022. | + | Sourcing sqwsyb_Global.lib v2022.05 SQWareProduction for Sybase (dbSQWare) ... |
#Standard (Locale) help for script sqwsyb_CheckstorageDatabase.ksh: | #Standard (Locale) help for script sqwsyb_CheckstorageDatabase.ksh: |
Version du 23 août 2022 à 20:43
Sourcing sqwsyb_Global.lib v2022.05 SQWareProduction for Sybase (dbSQWare) ... #Standard (Locale) help for script sqwsyb_CheckstorageDatabase.ksh: # XXXXX : -Dist $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -h #Affichage de l'aide en ligne pour ce script $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -Locale en -h #Display online help for this script with forcing of the 'fr' locale (default locale managed by the variable gvsqw_Locale) $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -s #Display usage examples for this script $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -AddMail 'mymail1@mydomaine.com,mymail2@mydomaine.com' #Add the mail list to the default address managed by the variable gvsqw_GlobalMail $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -SendReport #Send the log by email at the end of the treatment even if there is no error $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -I $DSQUERY -D <DbName> -NoMail #Desactive l'envoi de mail sur erreur a to $gvsqw_GlobalMail (par defaut, send on error) $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -I $DSQUERY -D <DbName> -Exec #Execute les commandes generees $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -I $DSQUERY -D <DbName> #Genere les commandes mais ne les execute pas ! $gvsqw_SybBin/sqwsyb_CheckstorageDatabase.ksh -I $DSQUERY -D <DbName> -FRT <NumericValue> -Exec #Force le code retour a '<NumericValue>' sur erreur (si pas d'erreur, exit 0!) #Vous pouvez aussi forcer le code retour de ce script pour tous #si vous settez la variable d'environnement: $gvsqw_ForcedReturnCodeScript_sqwsyb_CheckstorageDatabase=<NumericValue> #dans le fichier de configuration $gvsqw_SybBin/../etc_cust/sqwsyb_GlobalVar.cfg