Difference between revisions of "SQWareProduction:mysql:lib:sqwmys Global.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
m (Updated by BatchUser)
Line 1: Line 1:
shell functions librairy $gvsqw_MysBin/../lib/sqwmys_Global.lib:<br>
+
shell functions library $gvsqw_MysBin/../lib/sqwmys_Global.lib:<br>
 
{{SQWareProduction_sqwmys_Global.lib_presentation}}
 
{{SQWareProduction_sqwmys_Global.lib_presentation}}
 
<br>
 
<br>
Line 11: Line 11:
 
gfsqw_DisplaySample =>  
 
gfsqw_DisplaySample =>  
 
gfsqw_EndMailError =>  
 
gfsqw_EndMailError =>  
 +
gfsqw_EndMailError 31 "You do not have write permission on $gvsqw_LogDir !"
 
gfsqw_EndMailError 31 "You do not have write permission on $gvsqw_TmpDir !"
 
gfsqw_EndMailError 31 "You do not have write permission on $gvsqw_TmpDir !"
 
gfsqw_EndMailError 31 "You do not have write permission on $lvsqw_RootTmp !"
 
gfsqw_EndMailError 31 "You do not have write permission on $lvsqw_RootTmp !"
 
gfsqw_EndMailError 33 "Error, database $lvsqw_DbName on $MYSQL_SID does not exist or pb connection !<br>\n<pre class='edt'>\n$cat $gvsqw_TmpFile => \n</pre>"
 
gfsqw_EndMailError 33 "Error, database $lvsqw_DbName on $MYSQL_SID does not exist or pb connection !<br>\n<pre class='edt'>\n$cat $gvsqw_TmpFile => \n</pre>"
 
gfsqw_EndMailError 99 "Error, failed to connect to $MYSQL_SID !!!<br>\n<pre class='edt'>\n$gvsqw_MysVersionMajInt\n</pre>"
 
gfsqw_EndMailError 99 "Error, failed to connect to $MYSQL_SID !!!<br>\n<pre class='edt'>\n$gvsqw_MysVersionMajInt\n</pre>"
 +
gfsqw_EndMailError_sub
 +
gfsqw_EndMailError_sub =>
 +
gfsqw_EndMailError_sub 2>&1 >> $gvsqw_LogFile
 
gfsqw_EndTrt =>  
 
gfsqw_EndTrt =>  
 
gfsqw_EvalGlobalVar
 
gfsqw_EvalGlobalVar
Line 35: Line 39:
 
gfsqw_SourceOverloadLibs $lvsqw_SpecificLib
 
gfsqw_SourceOverloadLibs $lvsqw_SpecificLib
 
gfsqw_SourceProfile
 
gfsqw_SourceProfile
 +
gfsqw_StartLog =>
 
gfsqw_TempFile =>  
 
gfsqw_TempFile =>  
 
</pre>
 
</pre>

Revision as of 21:30, 24 May 2011

shell functions library $gvsqw_MysBin/../lib/sqwmys_Global.lib:
central lib of generic fonctions for mysql
Functions explanation:

gfsqw_BatchDuration
gfsqw_BatchDuration => 
gfsqw_BeginningCom => 
   gfsqw_Colors
gfsqw_Colors => 
gfsqw_DisplaySample => 
gfsqw_EndMailError => 
			gfsqw_EndMailError 31 "You do not have write permission on $gvsqw_LogDir !"
		gfsqw_EndMailError 31 "You do not have write permission on $gvsqw_TmpDir !"
	gfsqw_EndMailError 31 "You do not have write permission on $lvsqw_RootTmp !"
	gfsqw_EndMailError 33 "Error, database $lvsqw_DbName on $MYSQL_SID does not exist or pb connection !<br>\n<pre class='edt'>\n$cat $gvsqw_TmpFile => \n

" gfsqw_EndMailError 99 "Error, failed to connect to $MYSQL_SID !!!
\n

\n$gvsqw_MysVersionMajInt\n

"

gfsqw_EndMailError_sub gfsqw_EndMailError_sub => gfsqw_EndMailError_sub 2>&1 >> $gvsqw_LogFile gfsqw_EndTrt => gfsqw_EvalGlobalVar gfsqw_EvalGlobalVar => gfsqw_FormatHtmlMessages => gfsqw_GenInfoMail gfsqw_GenInfoMail => gfsqw_GenListDatabase => gfsqw_GetVersion => gfsqw_HeadFile => gfsqw_HtmlTablesCode => gfsqw_Init => gfsqw_JobEnd gfsqw_Ptree => gfsqw_Purge gfsqw_Purge => gfsqw_SourceOverloadLibs => gfsqw_SourceOverloadLibs 'sqwmys_InsertIndicators.lib' gfsqw_SourceOverloadLibs 'sqwmys_SetEnv.lib' gfsqw_SourceOverloadLibs $lvsqw_SpecificLib gfsqw_SourceProfile gfsqw_StartLog => gfsqw_TempFile =>


Nuvola apps information.png
Note:
You can overload functions contained in $gvsqw_MysBin/../lib/sqwmys_Global.lib

by function with same name in $gvsqw_MysBin/../lib_cust/sqwmys_Global.lib for all your environnement
or by $HOME/sqwConfig/sqwmys_Global.lib specifically for this user .