« Modèle:SQWareProduction sqwmsq GatherStructure.ksh example » : différence entre les versions

De WikiFr_dbSQWare
Aller à la navigation Aller à la recherche
m Updated by BatchUser
m Updated by BatchUser
Ligne 1 : Ligne 1 :
<pre>
<pre>
Sourcing sqwmsq_Global.lib v2024.07 SQWareProduction for MsSql (dbSQWare) ...  
Can't find if env is 'SqlCmd' or 'FreeTds' !
Sourcing sqwmsq_Global.lib v2024.08 SQWareProduction for MsSql (dbSQWare) ...  


#Standard (Locale) help for script sqwmsq_GatherStructure.ksh:
Run sqwmsq_GatherStructure.ksh -s : 2024-12-24 08:28:46


__________________________________________________________________
Program informations
SqwVersion=2024.08 / 2024.08
2024-12-24 08:28:46
Copyright 2010-2024, dbSQWare (www.dbsqware.com)
Linux dbsqware02 4.15.18-21-pve #1 SMP PVE 4.15.18-48 (Fri, 20 Sep 2019 11:28:30 +0200) x86_64 GNU/Linux
gvsqw_GenPath=/home/dbsqware/dbSQWare/SQWareProduction/mssql/bin
Path=/home/dbsqware/dbSQWare/SQWareProduction/mssql/bin
./sqwmsq_GatherStructure.ksh -s
dbsqware@dbsqware02


$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -h
sqwmsq_GatherSt,dbsqware ./sqwmsq_GatherStructure.ksh -s
#Affichage de l'aide en ligne pour ce script
  `-pstree -aul 4108


$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -Locale fr -h
__________________________________________________________________
#Affichage de l'aide en ligne pour ce script avec forcage de la locale 'fr' (Locale par defaut geree par $gvsqw_Locale)


$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -s
#Affichage des exemples d'utilisation pour ce script


$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -I $Alias
Not sending mail because you are in connected mode !!!
#Collecte les structures de l'instance cible
Error, ExecEnvType='LinuxKO' ...
 
$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -I $Alias -AddMail 'mymail1@mydomaine.com,mymail2@mydomaine.com'
#Ajoute la liste de mail a l'adresse par defaut geree par $gvsqw_GlobalMail
 
$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -I $Alias -SendReport
#Envoie la log par mail a la fin du traitement meme s'il n'y a pas d'erreur (par defaut, seulement en cas d'erreur)
 
$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -I $Alias -NoMail
#Desactive l'envoi de mail sur erreur a $gvsqw_GlobalMail (par defaut, seulement en cas d'erreur)
 
$gvsqw_MsqBin/sqwmsq_GatherStructure.ksh -I $Alias -FRT <NumericValue>
#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_sqwmsq_GatherStructure=<NumericValue>
#dans le fichier de configuration $gvsqw_MsqBin/../etc_cust/sqwmsq_GlobalVar.cfg


Begining    : 2024-12-24 08:28:46
End          : 2024-12-24 08:28:46
Duration    : 00:00:00
</pre>
</pre>

Version du 24 décembre 2024 à 08:29

Can't find if env is 'SqlCmd' or 'FreeTds' !
Sourcing sqwmsq_Global.lib v2024.08 SQWareProduction for MsSql (dbSQWare) ... 

Run sqwmsq_GatherStructure.ksh -s : 2024-12-24 08:28:46

__________________________________________________________________
Program informations
SqwVersion=2024.08 / 2024.08
2024-12-24 08:28:46
Copyright 2010-2024, dbSQWare (www.dbsqware.com)
Linux dbsqware02 4.15.18-21-pve #1 SMP PVE 4.15.18-48 (Fri, 20 Sep 2019 11:28:30 +0200) x86_64 GNU/Linux
gvsqw_GenPath=/home/dbsqware/dbSQWare/SQWareProduction/mssql/bin
Path=/home/dbsqware/dbSQWare/SQWareProduction/mssql/bin
./sqwmsq_GatherStructure.ksh -s
dbsqware@dbsqware02

sqwmsq_GatherSt,dbsqware ./sqwmsq_GatherStructure.ksh -s
  `-pstree -aul 4108

__________________________________________________________________


Not sending mail because you are in connected mode !!!
Error, ExecEnvType='LinuxKO' ...

Begining     : 2024-12-24 08:28:46
End          : 2024-12-24 08:28:46
Duration     : 00:00:00