Difference between revisions of "SQWareProduction:sybase:lib:sqwsyb Global.lib"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by Expdbtools)
 
m (Updated by Expdbtools)
Line 1: Line 1:
Librairie de fonctions shell $gvsqw_SybBin/../lib/sqwsyb_Global.lib:<br>
+
shell functions librairy $gvsqw_SybBin/../lib/sqwsyb_Global.lib:<br>
central lib of generic fonctions
+
{{SQWareProduction_sqwsyb_Global.lib_presentation}}
 
<br>
 
<br>
gfsqw_BatchDuration
+
Functions explanation:
 +
<pre>
 
gfsqw_BatchDuration
 
gfsqw_BatchDuration
gfsqw_BeginningCom
+
gfsqw_BatchDuration =>
gfsqw_CheckParams
+
gfsqw_BeginningCom =>
 +
gfsqw_CheckParams =>
 
   gfsqw_Colors
 
   gfsqw_Colors
gfsqw_Colors
+
gfsqw_Colors =>
gfsqw_EndMailError
+
gfsqw_DisplaySample =>
 +
gfsqw_EndMailError =>
 
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 "Database $lvsqw_DbName on $lvsqw_Dataserver does not exist or pb connection !"
+
gfsqw_EndMailError 33 "Error, database $lvsqw_DbName on $lvsqw_Dataserver does not exist or pb connection !<br>\n<pre class='edt'>\n$cat $gvsqw_TmpFile => \n</pre>"
gfsqw_EndMailError 99 "Error, connection failed for $lvsqw_Dataserver !!!\n$SybTempVersion"
+
gfsqw_EndMailError 99 "Error, connection failed for $lvsqw_Dataserver !<br>\n<pre class='edt'>\n$SybTempVersion\n</pre>"
gfsqw_EndTrt
+
gfsqw_EndTrt =>
 
gfsqw_EvalGlobalVar
 
gfsqw_EvalGlobalVar
gfsqw_GenDatabasesList
+
gfsqw_EvalGlobalVar =>
 +
gfsqw_FormatHtmlMessages =>
 +
gfsqw_GenDatabasesList =>
 +
gfsqw_GenInfoMail
 +
gfsqw_GenInfoMail =>
 
gfsqw_GetVersion
 
gfsqw_GetVersion
gfsqw_GetVersion
+
gfsqw_GetVersion =>
gfsqw_Init
+
gfsqw_HeadFile =>
 +
gfsqw_HtmlTablesCode =>
 +
gfsqw_Init =>
 
gfsqw_JobEnd
 
gfsqw_JobEnd
gfsqw_ParamDatabase
+
gfsqw_ParamDatabase =>
gfsqw_Ptree
+
gfsqw_Ptree =>
gfsqw_Purge
 
 
gfsqw_Purge
 
gfsqw_Purge
 +
gfsqw_Purge =>
 +
gfsqw_SourceOverloadLibs =>
 +
gfsqw_SourceOverloadLibs 'sqwsyb_InsertIndicators.lib'
 +
gfsqw_SourceOverloadLibs 'sqwsyb_SetEnv.lib'
 +
gfsqw_SourceOverloadLibs $lvsqw_SpecificLib
 
gfsqw_SourceProfile
 
gfsqw_SourceProfile
 
gfsqw_TempFile
 
gfsqw_TempFile
 +
gfsqw_TempFile =>
 
lfsqw_ParamDatabase
 
lfsqw_ParamDatabase
 
lfsqw_ParamDatabase
 
lfsqw_ParamDatabase
 
lfsqw_PrintUsage "Lack 'dataserver' parameter"
 
lfsqw_PrintUsage "Lack 'dataserver' parameter"
 +
</pre>
 
<br>
 
<br>
 
{{SQWareProductionSurchargeLib|sybase|Syb|sqwsyb_Global.lib}}
 
{{SQWareProductionSurchargeLib|sybase|Syb|sqwsyb_Global.lib}}
 
<br>
 
<br>

Revision as of 23:27, 15 December 2010

shell functions librairy $gvsqw_SybBin/../lib/sqwsyb_Global.lib:
central lib of generic fonctions for sybase
Functions explanation:

gfsqw_BatchDuration
gfsqw_BatchDuration => 
gfsqw_BeginningCom => 
gfsqw_CheckParams => 
   gfsqw_Colors
gfsqw_Colors => 
gfsqw_DisplaySample => 
gfsqw_EndMailError => 
		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 $lvsqw_Dataserver does not exist or pb connection !<br>\n<pre class='edt'>\n$cat $gvsqw_TmpFile => \n

" gfsqw_EndMailError 99 "Error, connection failed for $lvsqw_Dataserver !
\n

\n$SybTempVersion\n

"

gfsqw_EndTrt => gfsqw_EvalGlobalVar gfsqw_EvalGlobalVar => gfsqw_FormatHtmlMessages => gfsqw_GenDatabasesList => gfsqw_GenInfoMail gfsqw_GenInfoMail => gfsqw_GetVersion gfsqw_GetVersion => gfsqw_HeadFile => gfsqw_HtmlTablesCode => gfsqw_Init => gfsqw_JobEnd gfsqw_ParamDatabase => gfsqw_Ptree => gfsqw_Purge gfsqw_Purge => gfsqw_SourceOverloadLibs => gfsqw_SourceOverloadLibs 'sqwsyb_InsertIndicators.lib' gfsqw_SourceOverloadLibs 'sqwsyb_SetEnv.lib' gfsqw_SourceOverloadLibs $lvsqw_SpecificLib gfsqw_SourceProfile gfsqw_TempFile gfsqw_TempFile => lfsqw_ParamDatabase lfsqw_ParamDatabase lfsqw_PrintUsage "Lack 'dataserver' parameter"


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

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