Difference between revisions of "SQWareProduction:mysql:lib:sqwmys UpdateGLPI.lib"
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Line 4: | Line 4: | ||
Functions explanation: | Functions explanation: | ||
<pre> | <pre> | ||
+ | gfsqw_BeginningCom | ||
lfsqw_ExecSql => | lfsqw_ExecSql => | ||
lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB" | lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB" | ||
Line 9: | Line 10: | ||
lfsqw_ExecSqlTrap => | lfsqw_ExecSqlTrap => | ||
lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile} | lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile} | ||
+ | lfsqw_GatherFile | ||
lfsqw_GatherFile => | lfsqw_GatherFile => | ||
lfsqw_GenUpdateRdbmsType | lfsqw_GenUpdateRdbmsType | ||
lfsqw_GenUpdateRdbmsType => | lfsqw_GenUpdateRdbmsType => | ||
+ | lfsqw_InsertGLPIDatabase | ||
lfsqw_InsertGLPIDatabase => | lfsqw_InsertGLPIDatabase => | ||
+ | lfsqw_Main => | ||
+ | lfsqw_UpdateGLPIDatabase | ||
lfsqw_UpdateGLPIDatabase => | lfsqw_UpdateGLPIDatabase => | ||
lfsqw_UpdateGLPIDatabase_CustAfter | lfsqw_UpdateGLPIDatabase_CustAfter |
Latest revision as of 18:21, 24 January 2023
shell functions library $gvsqw_MysBin/../lib/sqwmys_UpdateGLPI.lib:
lib for sqwmys_Update$lvsqw_DbName.ksh
Functions explanation:
gfsqw_BeginningCom lfsqw_ExecSql => lfsqw_ExecSql "alim $lvsqw_DbName.tsqw_dbSQWare_CMDB" lfsqw_ExecSql "insert/update/delete instances" lfsqw_ExecSqlTrap => lfsqw_ExecSqlTrap 2>&1 > ${gvsqw_TmpFile} lfsqw_GatherFile lfsqw_GatherFile => lfsqw_GenUpdateRdbmsType lfsqw_GenUpdateRdbmsType => lfsqw_InsertGLPIDatabase lfsqw_InsertGLPIDatabase => lfsqw_Main => lfsqw_UpdateGLPIDatabase lfsqw_UpdateGLPIDatabase => lfsqw_UpdateGLPIDatabase_CustAfter lfsqw_UpdateGLPIDatabase_CustAfter => lfsqw_UpdateGLPIDatabase_CustBefore lfsqw_UpdateGLPIDatabase_CustBefore =>