Difference between revisions of "SQWareProduction:sybase:lib:sqwsyb Global.lib"
m (Updated by Expdbtools) |
m (Updated by BatchUser) |
||
Line 1: | Line 1: | ||
− | shell functions | + | shell functions library $gvsqw_SybBin/../lib/sqwsyb_Global.lib:<br> |
{{SQWareProduction_sqwsyb_Global.lib_presentation}} | {{SQWareProduction_sqwsyb_Global.lib_presentation}} | ||
<br> | <br> | ||
Line 12: | Line 12: | ||
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 $lvsqw_Dataserver 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 $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 !<br>\n<pre class='edt'>\n$SybTempVersion\n</pre>" | gfsqw_EndMailError 99 "Error, connection failed for $lvsqw_Dataserver !<br>\n<pre class='edt'>\n$SybTempVersion\n</pre>" | ||
+ | gfsqw_EndMailError_sub | ||
+ | gfsqw_EndMailError_sub => | ||
+ | gfsqw_EndMailError_sub 2>&1 >> $gvsqw_LogFile | ||
gfsqw_EndTrt => | gfsqw_EndTrt => | ||
gfsqw_EvalGlobalVar | gfsqw_EvalGlobalVar | ||
Line 38: | Line 42: | ||
gfsqw_SourceOverloadLibs $lvsqw_SpecificLib | gfsqw_SourceOverloadLibs $lvsqw_SpecificLib | ||
gfsqw_SourceProfile | gfsqw_SourceProfile | ||
+ | gfsqw_StartLog => | ||
gfsqw_TempFile | gfsqw_TempFile | ||
gfsqw_TempFile => | gfsqw_TempFile => |
Revision as of 21:31, 24 May 2011
shell functions library $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_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 $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_EndMailError_sub gfsqw_EndMailError_sub => gfsqw_EndMailError_sub 2>&1 >> $gvsqw_LogFile 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_StartLog => gfsqw_TempFile gfsqw_TempFile => lfsqw_ParamDatabase lfsqw_ParamDatabase lfsqw_PrintUsage "Lack 'dataserver' parameter"