Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\misc\CodeTemplates\KM_IKM SQL Incremental Update (row by row).xml
<?xml version="1.0" encoding="ISO-8859-1"?> <SunopsisExport> <Object class="com.sunopsis.dwg.dbobj.SnpTrt"> <Field name="ExtVersion" type="java.lang.String"><![CDATA[10.1.3.6]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-05-05 14:52:12.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[TCHANTIE]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="IndJrnMethod" type="java.lang.String">null</Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IFolder" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IProject" type="com.sunopsis.sql.DbInt"><![CDATA[1000]]></Field> <Field name="IState" type="com.sunopsis.sql.DbInt"><![CDATA[17003]]></Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtTrtTxt" type="com.sunopsis.sql.DbInt"><![CDATA[8433000]]></Field> <Field name="KimMultiDserver" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KmDefault" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KmSrcTechno" type="java.lang.String">null</Field> <Field name="KmTechno" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:12:11.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LChecksum" type="com.sunopsis.sql.DbInt"><![CDATA[4732]]></Field> <Field name="LCode" type="java.lang.String">null</Field> <Field name="OrdFolder" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="TrtName" type="java.lang.String"><![CDATA[IKM SQL Incremental Update (row by row)]]></Field> <Field name="TrtType" type="java.lang.String"><![CDATA[KI]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8433000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[COMPONENT NAME: IKM SQL Incremental Update (row by row) COMPONENT VERSION: 10.1.3.6 AUTHOR: Oracle COMPATIBILITY: 10.1.3.5.0 and above DESCRIPTION - Integrates data in any AINSI-SQL92 compliant database target table in incremental update mode. - provide the ability to integrate data from a staging area to a target and be able to know precisely the state of each row processed - Inexistent rows are inserted; already existing rows are updated. - Data can be controlled. Invalid data is isolated in the Error Table and can be recycled. - When using this module with a journalized source table, it is possible to synchronize deletions. OPTIONS (Refer to Option descriptions for more information on each option) - INSERT: automatically insert data into the Target Datastore of the Interface - UPDATE: indentifies and updates rows depending on the values of the UPDATE_KEY - COMMIT: commit all inserted and/or updated data - SYNC_JRN_DELETE: allow synchronization of journalized deletions - FLOW_CONTROL: allow flow control - RECYCLE_ERRORS: allow recycling of previous rejected data - STATIC_CONTROL: allow the control on the target table after processing - TRUNCATE: allow truncate on the target datastore - DELETE_ALL: allow the deletion of all rows on the target datastore - CREATE_TARGET_TABLE: allow the creation of the target table - LOG_LEVEL(*): set the level of information to log. - LOG_FILE_NAME(*): full path to the log file used. - MAX_ERRORS(*): the process stops when MAX_ERRORS are encountered - DELETE_TEMPORARY_OBJECTS: delete or not the temporary objects after processing. LIMITATIONS - This Knowledge Module is NOT RECOMMENDED when using LARGE VOLUMES. Other specific modules using Bulk utilities (SQL*LOADER, BULK INSERT...) or direct links (DBLINKS, Linked Servers...) are usually more efficient. - When working with journalized data, if the "Synchronize deletions from journal" is executed, the deleted rows on the target are committed regardless of the COMMIT option - Comparison of data is made using the Update Key defined in the interface. It has to be set. - The TRUNCATE option cannot work if the target table is referenced by another table (foreign key) - The FLOW_CONTROL and STATIC_CONTROL options call the Check Knowledge Module to isolate invalid data (if no CKM is set, an error occurs). Both options must be set to NO in the case when an Integration Interface populates a TEMPORARY target datastore. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[1000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:12:11.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:12:11.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[1000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Editer Commande]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[I_TXT_TRT_TXT]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_TRT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8434000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1647000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[10]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[INSERT]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Insert new rows. ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8434000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Automatically attempts to insert data into the Target Datastore of the Interface ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:16.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:16.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Aide User Exit]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[I_TXT_UE_HELP]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_USER_EXIT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8435000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1648000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[20]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[UPDATE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Update Target data. ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8435000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Identifies and updates rows of the Target Datastore depending on the value of the UPDATE_KEY columns of the target datastore records. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8436000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1649000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[60]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[COMMIT]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Post Integration Commit ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8436000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Commit all data inserted or updated in the target datastore. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8437000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1650000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[110]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[SYNC_JRN_DELETE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Synchronize Journalized deletions ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8437000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option to synchronize journalized deletions. This option will take effect only if one source table is journalized in your interface. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8438000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1651000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[120]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[FLOW_CONTROL]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Activate Flow control ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8438000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option if you wish to perform flow control. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8439000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1652000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[130]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[RECYCLE_ERRORS]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Recycle previous errors ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8439000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option to recycle data rejected from a previous control. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8440000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1653000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[140]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[STATIC_CONTROL]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Post Integration Control.]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8440000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option to control the target table after having inserted or updated target data. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8441000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1654000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[150]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[TRUNCATE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Truncate the target datastore. ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8441000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option if you wish to truncate the target datastore. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8442000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1655000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[160]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[DELETE_ALL]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Delete all rows. ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8442000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option if you wish to delete all the rows of the target datastore. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8443000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1656000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[170]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[CREATE_TARG_TABLE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Create the target table. ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8443000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Check this option if you wish to create the target table ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8444000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1657000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[290]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[DELETE_TEMPORARY_OBJECTS ]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Delete temp objects post int ]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[C]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8444000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Set this option to NO if you wish to retain temporary objects (tables, files and scripts) after integration. Useful for debugging. ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8445000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1658000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[<?= java.lang.System.getProperty("user.home") ?><?= java.lang.System.getProperty("file.separator") ?>lkm_rowbyrow.log]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[LOG_FILE_NAME]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Log file name]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[V]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8445000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Log file name]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8446000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1659000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[LOG_LEVEL]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Log level.]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[V]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8446000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Log level. 0: nothing to log 1: any JDBC action will be indicated such as 'select action', 'delete action', 'insert action' 2: in addition to level 1, all record that generate an error will be logged 3: in addition to level 2, all processed record will be logged ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpUserExit"> <Field name="ExtVersion" type="java.lang.String">null</Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[8447000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1660000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[MAX_ERRORS]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Maximum number of errors]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[V]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[8447000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Maximum number of errors allowed before interrupt the process.]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[2000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String"><![CDATA[1]]></Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34364000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String"><![CDATA[I]]></Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[252]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Insert new rows]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34364000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[import java.sql as sql import java.lang as lang from time import clock as now # retrieve KM options logFileName = r'<%=odiRef.getOption("LOG_FILE_NAME")%>' logLevel = <%=odiRef.getOption("LOG_LEVEL")%> maxErrors= <%=odiRef.getOption("MAX_ERRORS")%> # set the logger logger = Log(logfilename=logFileName, loglevel=logLevel) try: # Source Connection ConSrc = odiRef.getJDBCConnection( "SRC" ) # Target (Destination) Connection ConTrg = odiRef.getJDBCConnection( "DEST" ) logger.record_time('get metadata information from target', LOG_ACTION) # Statement target + metadata stmtTrg = ConTrg.createStatement() readTrg = stmtTrg.executeQuery("select * from <%=odiRef.getTable("L", "INT_NAME", "W")%> where 1=2") metaDataTrg = readTrg.getMetaData() colLst = '' typeColTrg='' bindVar ='' colLst= """<%=odiRef.getColList("", "[COL_NAME]", ",\n\t","", "((INS and !TRG) and REW)")%> """ nbCol=colLst.count(',') bindVar=','.join('?'*(nbCol+1)) beginRqteInsert = 'insert into <%=odiRef.getTable("L","TARG_NAME","A")%> ('+colLst+') values (' rqteInsert = beginRqteInsert+bindVar+')' psmt = ConTrg.prepareStatement(rqteInsert) # Statement source + metadata readSrc = ConSrc.createStatement() sqlSrc="""select <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%> <%=odiRef.getColList(",", "[EXPRESSION]", ",\n\t", "", "((INS and TRG) and REW)")%> from <%=odiRef.getTable("L","INT_NAME","A")%> where IND_UPDATE = 'I'""" readSrc.setFetchSize(100) logger.record_time('Select action on source', LOG_ACTION) logger.record_time(sqlSrc, LOG_ACTION) rqteSrc = readSrc.executeQuery(sqlSrc) metaDataSrc = rqteSrc.getMetaData() # Set statement nb = None record = '' nbLine = 0 nbErrors = 0 psmt.clearBatch() while rqteSrc.next(): resLine='' record='' for nb in range (nbCol+1): colType=metaDataSrc.getColumnType(nb+1) if colType == sql.Types.VARCHAR: #Code 12 resline=rqteSrc.getString(nb+1) psmt.setString(nb+1,resline) elif colType == sql.Types.CHAR: #Code 1 resline=rqteSrc.getString(nb+1) psmt.setString(nb+1,resline) elif colType == sql.Types.INTEGER: #Code 4 resline=rqteSrc.getInt(nb+1) psmt.setInt(nb+1,resline) elif colType == sql.Types.NUMERIC: #Code 2 resline=rqteSrc.getBigDecimal(nb+1) psmt.setBigDecimal(nb+1,resline) elif colType == sql.Types.DECIMAL: #Code 3 resline=rqteSrc.getBigDecimal(nb+1) psmt.setBigDecimal(nb+1,resline) elif colType == sql.Types.DATE: #Code 91 resline=rqteSrc.getDate(nb+1) psmt.setDate(nb+1,resline) elif colType == sql.Types.TIME: #Code 92 resline=rqteSrc.getTime(nb+1) psmt.setTime(nb+1,resline) elif colType == sql.Types.TIMESTAMP: #Code 93 resline=rqteSrc.getTimestamp(nb+1) psmt.setTimestamp(nb+1,resline) elif colType == sql.Types.BIGINT: #Code -5 resline=rqteSrc.getLong(nb+1) psmt.setLong(nb+1,resline) elif colType == sql.Types.BINARY: #Code -2 resline=rqteSrc.getBytes(nb+1) psmt.setBytes(nb+1,resline) elif colType == sql.Types.BIT: #Code -7 resline=rqteSrc.getBoolean(nb+1) psmt.setBoolean(nb+1,resline) elif colType == sql.Types.DOUBLE: #Code 8 resline=rqteSrc.getDouble(nb+1) psmt.setDouble(nb+1,resline) elif colType == sql.Types.LONGVARBINARY: #Code -4 resline=rqteSrc.getBytes(nb+1) psmt.setBytes(nb+1,resline) elif colType == sql.Types.LONGVARCHAR: #Code -1 resline= rqteSrc.getString(nb+1) psmt.setString(nb+1,resline) elif colType == sql.Types.OTHER: #Code 1111 resline=rqteSrc.getObject(nb+1) psmt.setObject(nb+1,resline) elif colType == sql.Types.REAL: #Code 7 resline=rqteSrc.getFloat(nb+1) psmt.setFloat(nb+1,resline) elif colType == sql.Types.SMALLINT: #Code 5 resline=rqteSrc.getShort(nb+1) psmt.setShort(nb+1,resline) elif colType == sql.Types.TINYINT: #Code -6 resline=rqteSrc.getByte(nb+1) psmt.setByte(nb+1,resline) elif colType == sql.Types.VARBINARY: #Code -3 resline=rqteSrc.getBytes(nb+1) psmt.setBytes(nb+1,resline) record=record+str(resline)+', ' resline = '' try: logger.record_raw(str(nbLine) +' : ' + beginRqteInsert+' '+record[:-2]+' )' , LOG_ALL) psmt.executeUpdate() except: logger.record_raw(str(nbLine) +' : ' + beginRqteInsert+' '+record[:-2]+' )' , LOG_ERROR) nbErrors+=1 if nbErrors >= maxErrors: raise "Too much errors in the Load step", "The error limit has been reached. A maximum of "+str(maxErrors)+" errors was allowed." nbLine=nbLine+1 finally: print 'OK' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpOrigTxt"> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="OrigineName" type="java.lang.String"><![CDATA[Techno Destination]]></Field> <Field name="SnpsCol" type="java.lang.String"><![CDATA[DEF_I_TXT]]></Field> <Field name="SnpsTable" type="java.lang.String"><![CDATA[SNP_LINE_TRT]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String"><![CDATA[1]]></Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String"><![CDATA[1]]></Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34365000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[262]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Commit transaction]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34365000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[/* commit */]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34366000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[272]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Cleanup journalized table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34366000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<% if ("C".equals(odiRef.getJrnInfo( "JRN_METHOD"))) { %> /* Consistant journalization detected. */ /* Lock should be done by a specific step in a package */ <% } else { %> delete from <%=odiRef.getTable("L","JRN_NAME","A")%> where JRN_CONSUMED = '1' <%=odiRef.getJrnFilter()%> <% } %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34367000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[282]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Post-integration control]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34367000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<%@ INCLUDE CKM_STATIC%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34368000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[122]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Lock journalized table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34368000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<% if ("C".equals(odiRef.getJrnInfo( "JRN_METHOD"))) { %> /* Consistant journalization detected. */ /* Lock should be done by a specific step in a package. No operation here */ <% } else { %> update <%=odiRef.getTable( "L" , "JRN_NAME" , "A" )%> set JRN_CONSUMED = '1' where (1=1) <%=odiRef.getJrnFilter()%> <% } %>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34369000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String"><![CDATA[D]]></Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[102]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Delete target table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34369000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getTable("L","TARG_NAME","A")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34370000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[92]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Truncate target table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34370000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[truncate table <%=odiRef.getTable("L","TARG_NAME","A")%> ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:17.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34371000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[12]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create target table ]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34371000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create table <%=odiRef.getTable("L", "TARG_NAME", "A")%> ( <%=odiRef.getTargetColList("", "[COL_NAME]\t[DEST_CRE_DT] " + odiRef.getInfo("DEST_DDL_NULL"), ",\n\t", "")%> )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34372000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[32]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop flow table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34372000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop table <%=odiRef.getTable("L", "INT_NAME", "A")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34373000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[82]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create flow table I$]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34373000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[create table <%=odiRef.getTable("L", "INT_NAME", "A")%> ( <%=odiRef.getColList("", "[COL_NAME]\t[DEST_WRI_DT] "+ odiRef.getInfo("DEST_DDL_NULL"),",\n\t", "", "")%>, IND_UPDATE <%=odiRef.getDataType("SRC_VARCHAR","1")%> )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34374000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[292]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop flow table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34374000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[drop table <%=odiRef.getTable("L", "INT_NAME", "A")%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34375000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[232]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Flag useless rows]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34375000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[update <%=odiRef.getTable("L", "INT_NAME", "A")%> set IND_UPDATE = 'N' where exists ( select 'X' from <%=odiRef.getTable("L", "TARG_NAME", "A")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> T where <%=odiRef.getColList("", odiRef.getTable("L", "INT_NAME", "A")+".[COL_NAME]\t= T.[COL_NAME]", "\n\t\tand\t", "", "UK")%> <%=odiRef.getColList("and\t", "(("+odiRef.getTable("L", "INT_NAME", "A")+".[COL_NAME] = T.[COL_NAME]) or ("+odiRef.getTable("L", "INT_NAME", "A")+".[COL_NAME] IS NULL and T.[COL_NAME] IS NULL))", " \n\t\tand\t", "", "((UPD and !TRG) and !UK)")%> )]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String"><![CDATA[1]]></Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34376000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String"><![CDATA[U]]></Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:12:11.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[242]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Update existing rows]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34376000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[import java.sql as sql import java.lang as lang from time import clock as now # retrieve KM options logFileName = r'<%=odiRef.getOption("LOG_FILE_NAME")%>' logLevel = <%=odiRef.getOption("LOG_LEVEL")%> maxErrors= <%=odiRef.getOption("MAX_ERRORS")%> # set the logger logger = Log(logfilename=logFileName, loglevel=logLevel) def getDataSring(metaDataSrc, rqteSrc, nb, updStmt): colType=metaDataSrc.getColumnType(nb+1) if colType == sql.Types.VARCHAR: #Code 12 resline=rqteSrc.getString(nb+1) updStmt.setString(nb+1,resline) elif colType == sql.Types.CHAR: #Code 1 resline=rqteSrc.getString(nb+1) updStmt.setString(nb+1,resline) elif colType == sql.Types.INTEGER: #Code 4 resline=rqteSrc.getInt(nb+1) updStmt.setInt(nb+1,resline) elif colType == sql.Types.NUMERIC: #Code 2 resline=rqteSrc.getBigDecimal(nb+1) updStmt.setBigDecimal(nb+1,resline) elif colType == sql.Types.DECIMAL: #Code 3 resline=rqteSrc.getBigDecimal(nb+1) updStmt.setBigDecimal(nb+1,resline) elif colType == sql.Types.DATE: #Code 91 resline=rqteSrc.getDate(nb+1) updStmt.setDate(nb+1,resline) elif colType == sql.Types.TIME: #Code 92 resline=rqteSrc.getTime(nb+1) updStmt.setTime(nb+1,resline) elif colType == sql.Types.TIMESTAMP: #Code 93 resline=rqteSrc.getTimestamp(nb+1) updStmt.setTimestamp(nb+1,resline) elif colType == sql.Types.BIGINT: #Code -5 resline=rqteSrc.getLong(nb+1) updStmt.setLong(nb+1,resline) elif colType == sql.Types.BINARY: #Code -2 resline=rqteSrc.getBytes(nb+1) updStmt.setBytes(nb+1,resline) elif colType == sql.Types.BIT: #Code -7 resline=rqteSrc.getBoolean(nb+1) updStmt.setBoolean(nb+1,resline) elif colType == sql.Types.DOUBLE: #Code 8 resline=rqteSrc.getDouble(nb+1) updStmt.setDouble(nb+1,resline) elif colType == sql.Types.LONGVARBINARY: #Code -4 resline=rqteSrc.getBytes(nb+1) updStmt.setBytes(nb+1,resline) elif colType == sql.Types.LONGVARCHAR: #Code -1 resline= rqteSrc.getString(nb+1) updStmt.setString(nb+1,resline) elif colType == sql.Types.OTHER: #Code 1111 resline=rqteSrc.getObject(nb+1) updStmt.setObject(nb+1,resline) elif colType == sql.Types.REAL: #Code 7 resline=rqteSrc.getFloat(nb+1) updStmt.setFloat(nb+1,resline) elif colType == sql.Types.SMALLINT: #Code 5 resline=rqteSrc.getShort(nb+1) updStmt.setShort(nb+1,resline) elif colType == sql.Types.TINYINT: #Code -6 resline=rqteSrc.getByte(nb+1) updStmt.setByte(nb+1,resline) elif colType == sql.Types.VARBINARY: #Code -3 resline=rqteSrc.getBytes(nb+1) updStmt.setBytes(nb+1,resline) try: # Source Connection ConSrc = odiRef.getJDBCConnection( "SRC" ) # Target (Destination) Connection ConTrg = odiRef.getJDBCConnection( "DEST" ) logger.record_time('get metadata information from target', LOG_ACTION) # columns to update not in UK nbUpdColLst = <%=odiRef.getColList("", "1", "+", "", "(((UPD) and !TRG) and REW)")%> # Source statement + metadata readSrc = ConSrc.createStatement() sqlSrc="""select <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((UPD and !TRG) and REW and !UK)")%>, <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "(UK)")%> from <%=odiRef.getTable("L", "INT_NAME", "A")%> where IND_UPDATE = 'U'""" readSrc.setFetchSize(100) logger.record_time('Select action on source', LOG_ACTION) logger.record_time(sqlSrc, LOG_ACTION) rqteSrc = readSrc.executeQuery(sqlSrc) metaDataSrc = rqteSrc.getMetaData() rqteUpdate = """update <%=odiRef.getTable("L", "TARG_NAME", "A")%> set <%=odiRef.getColList("", "[COL_NAME]\t= ?", ",\n\t", "", "(((UPD and !UK) and !TRG) and REW)")%> <%=odiRef.getColList(",", "[COL_NAME]\t= [EXPRESSION]", ",\n\t", "", "(((UPD and !UK) and TRG) and REW)")%> where <%=odiRef.getColList("", "[COL_NAME]\t= ?", "\nand\t", "", "(UK)")%>""" updStmt = ConTrg.prepareStatement(rqteUpdate) # Set statement nb = None record = '' nbLine = 0 nbErrors = 0 updStmt.clearBatch() while rqteSrc.next(): nbLine = nbLine + 1 resline='' for nb in range (nbUpdColLst): getDataSring(metaDataSrc, rqteSrc, nb, updStmt) try: logger.record_raw(str(nbLine) +' : ' + rqteUpdate, LOG_ALL) updStmt.executeUpdate() except: logger.record_raw(str(nbLine) +' : ' + rqteUpdate, LOG_ERROR) nbErrors+=1 if nbErrors >= maxErrors: raise "Too much errors in the Load step", "The error limit has been reached. A maximum of "+str(maxErrors)+" errors was allowed." finally: print 'OK' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34377000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[132]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create Jython log access]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34377000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[import time import os.path # 0: nothing to log # 1: any JDBC action will be indicated such as ?elect action?, ?elete action?, ?nsert action? LOG_ACTION = 1 # 2: in addition to level 1, all record that generate an error will be logged LOG_ERROR = 2 # 3: in addition to level 2, all processed record will be logged LOG_ALL = 3 LogStr=["NOTHING", "ACTION", "ERROR", "ALL"] class Log: """Creates a log file and traces information """ def __init__(self, logfilename, loglevel = 0, append=0, printtoscreen=0): self.logfilename = logfilename self.printtoscreen = printtoscreen if not os.path.isdir(os.path.dirname(logfilename)): os.makedirs(os.path.dirname(logfilename)) self.loglevel=loglevel if not append: # Reset the file f = open(logfilename, "w") f.close() def record_time(self, rec, level): if level <= self.loglevel: t = time.localtime() l = '%d-%02d-%02d %02d:%02d:%02d - %s: %s' % (t[0], t[1], t[2], t[3], t[4], t[5], LogStr[level], rec) f = open(self.logfilename, "a+") print >> f, l f.close() if self.printtoscreen: print l def record_raw(self, rec, level): if level <= self.loglevel: l = LogStr[level] + ': ' + rec f = open(self.logfilename, "a+") print >> f, l f.close() if self.printtoscreen: print rec ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34378000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String"><![CDATA[JYTHON]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[152]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Insert flow into I$ table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34378000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[import java.sql as sql import java.lang as lang from time import clock as now # retrieve KM options logFileName = r'<%=odiRef.getOption("LOG_FILE_NAME")%>' logLevel = <%=odiRef.getOption("LOG_LEVEL")%> maxErrors= <%=odiRef.getOption("MAX_ERRORS")%> # set the logger logger = Log(logfilename=logFileName, loglevel=logLevel) try: # Source Connection ConSrc = odiRef.getJDBCConnection( "SRC" ) # Target (Destination) Connection ConTrg = odiRef.getJDBCConnection( "DEST" ) logger.record_time('get metadata information from target', LOG_ACTION) # Statement target + metadata stmtTrg = ConTrg.createStatement() readTrg = stmtTrg.executeQuery("select * from <%=odiRef.getTable("L", "INT_NAME", "W")%> where 1=2") metaDataTrg = readTrg.getMetaData() colLst = '' typeColTrg='' bindVar ='' for i in range(metaDataTrg.getColumnCount()): colLst = str(colLst) + str(metaDataTrg.getColumnName(i+1)) + ',' typeColTrg = str(typeColTrg)+ str(metaDataTrg.getColumnType(i+1))+',' colLst=colLst[:-1] colLst= """<%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "(((INS or UPD) and !TRG) and REW)")%>, IND_UPDATE""" nbCol=colLst.count(',') bindVar=','.join('?'*(nbCol+1)) beginRqteInsert = 'insert into <%=odiRef.getTable("L","INT_NAME","A")%> ('+colLst+') values (' rqteInsert = beginRqteInsert+bindVar+')' psmt = ConTrg.prepareStatement(rqteInsert) # Statement source + metadata readSrc = ConSrc.createStatement() sqlSrc="""select <%=odiRef.getPop("DISTINCT_ROWS")%> <%=odiRef.getColList("", "[EXPRESSION]", ",\n\t", "", "(((INS or UPD) and !TRG) and REW)")%> , <% if (odiRef.getPop("HAS_JRN").equals("0")) { %> 'I' <%=odiRef.getInfo("SRC_COL_ALIAS_WORD")%> IND_UPDATE <%} else {%> JRN_FLAG <%}%> from <%=odiRef.getFrom()%> where (1=1) <%=odiRef.getJoin()%> <%=odiRef.getFilter()%> <%=odiRef.getJrnFilter()%> <%=odiRef.getGrpBy()%> <%=odiRef.getHaving()%>""" readSrc.setFetchSize(100) logger.record_time('Select action on source', LOG_ACTION) logger.record_time(sqlSrc, LOG_ACTION) rqteSrc = readSrc.executeQuery(sqlSrc) metaDataSrc = rqteSrc.getMetaData() # Set statement nb = None record = '' nbLine = 0 nbErrors = 0 psmt.clearBatch() while rqteSrc.next(): resLine='' record='' for nb in range (nbCol+1): colType=metaDataSrc.getColumnType(nb+1) if colType == sql.Types.VARCHAR: #Code 12 resline=rqteSrc.getString(nb+1) psmt.setString(nb+1,resline) elif colType == sql.Types.CHAR: #Code 1 resline=rqteSrc.getString(nb+1) psmt.setString(nb+1,resline) elif colType == sql.Types.INTEGER: #Code 4 resline=rqteSrc.getInt(nb+1) psmt.setInt(nb+1,resline) elif colType == sql.Types.NUMERIC: #Code 2 resline=rqteSrc.getBigDecimal(nb+1) psmt.setBigDecimal(nb+1,resline) elif colType == sql.Types.DECIMAL: #Code 3 resline=rqteSrc.getBigDecimal(nb+1) psmt.setBigDecimal(nb+1,resline) elif colType == sql.Types.DATE: #Code 91 resline=rqteSrc.getDate(nb+1) psmt.setDate(nb+1,resline) elif colType == sql.Types.TIME: #Code 92 resline=rqteSrc.getTime(nb+1) psmt.setTime(nb+1,resline) elif colType == sql.Types.TIMESTAMP: #Code 93 resline=rqteSrc.getTimestamp(nb+1) psmt.setTimestamp(nb+1,resline) elif colType == sql.Types.BIGINT: #Code -5 resline=rqteSrc.getLong(nb+1) psmt.setLong(nb+1,resline) elif colType == sql.Types.BINARY: #Code -2 resline=rqteSrc.getBytes(nb+1) psmt.setBytes(nb+1,resline) elif colType == sql.Types.BIT: #Code -7 resline=rqteSrc.getBoolean(nb+1) psmt.setBoolean(nb+1,resline) elif colType == sql.Types.DOUBLE: #Code 8 resline=rqteSrc.getDouble(nb+1) psmt.setDouble(nb+1,resline) elif colType == sql.Types.LONGVARBINARY: #Code -4 resline=rqteSrc.getBytes(nb+1) psmt.setBytes(nb+1,resline) elif colType == sql.Types.LONGVARCHAR: #Code -1 resline= rqteSrc.getString(nb+1) psmt.setString(nb+1,resline) elif colType == sql.Types.OTHER: #Code 1111 resline=rqteSrc.getObject(nb+1) psmt.setObject(nb+1,resline) elif colType == sql.Types.REAL: #Code 7 resline=rqteSrc.getFloat(nb+1) psmt.setFloat(nb+1,resline) elif colType == sql.Types.SMALLINT: #Code 5 resline=rqteSrc.getShort(nb+1) psmt.setShort(nb+1,resline) elif colType == sql.Types.TINYINT: #Code -6 resline=rqteSrc.getByte(nb+1) psmt.setByte(nb+1,resline) elif colType == sql.Types.VARBINARY: #Code -3 resline=rqteSrc.getBytes(nb+1) psmt.setBytes(nb+1,resline) record=record+str(resline)+', ' resline = '' try: logger.record_raw(str(nbLine) +' : ' + beginRqteInsert+' '+record[:-2]+' )' , LOG_ALL) psmt.executeUpdate() except: logger.record_raw(str(nbLine) +' : ' + beginRqteInsert+' '+record[:-2]+' )' , LOG_ERROR) nbErrors+=1 if nbErrors >= maxErrors: raise "Too much errors in the Load step", "The error limit has been reached. A maximum of "+str(maxErrors)+" errors was allowed." nbLine=nbLine+1 finally: print 'OK' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34379000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[1]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[172]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Recycle previous errors]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34379000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[insert into <%=odiRef.getTable("L","INT_NAME","A")%> ( <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "(((INS or UPD) and !TRG) and REW)")%>, IND_UPDATE ) select <%=odiRef.getColList("", "E.[COL_NAME]", ",\n\t", "", "(((INS or UPD) and !TRG) and REW)")%>, 'I' IND_UPDATE from <%=odiRef.getTable("L","ERR_NAME", "W")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> E where not exists ( select 'X' from <%=odiRef.getTable("L","INT_NAME","A")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> T where <%=odiRef.getColList("", "E.[COL_NAME]\t= T.[COL_NAME]", "\n\t\tand\t", "", "(((INS or UPD) and !TRG) and REW)")%> ) and E.ORIGIN = '<%=odiRef.getInfo("CT_ORIGIN")%>' and E.ERR_TYPE = '<%=odiRef.getInfo("CT_ERR_TYPE")%>' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34380000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String"><![CDATA[D]]></Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[182]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Synchronize deletions from journal]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34380000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getTable("L","TARG_NAME","A")%> where exists ( select 'X' from <%=odiRef.getTable("L","INT_NAME","A")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> I where <%=odiRef.getColList("", odiRef.getTable("L","TARG_NAME","A") + ".[COL_NAME]\t= I.[COL_NAME]", "\n\t\tand \t", "", "(UK)")%> and IND_UPDATE = 'D' ) ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[1]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String">null</Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34381000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String">null</Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[192]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Remove deleted rows from flow table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34381000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[delete from <%=odiRef.getTable("L","INT_NAME","A")%> where IND_UPDATE = 'D' ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34382000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[202]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Flow control]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34382000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<%@ INCLUDE CKM_FLOW DELETE_ERRORS%>]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrt"> <Field name="AlwaysExe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColConnectId" type="java.lang.String">null</Field> <Field name="ColContextCode" type="java.lang.String">null</Field> <Field name="ColIndCommit" type="java.lang.String">null</Field> <Field name="ColIsolLevel" type="java.lang.String">null</Field> <Field name="ColITxt" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="ColLschemaName" type="java.lang.String">null</Field> <Field name="ColPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="ColTechno" type="java.lang.String">null</Field> <Field name="DefConnectId" type="java.lang.String">null</Field> <Field name="DefContextCode" type="java.lang.String">null</Field> <Field name="DefIndCommit" type="java.lang.String">null</Field> <Field name="DefIsolLevel" type="java.lang.String">null</Field> <Field name="DefITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34383000]]></Field> <Field name="DefLschemaName" type="java.lang.String">null</Field> <Field name="DefPlanComp" type="java.lang.String"><![CDATA[0]]></Field> <Field name="DefTechno" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="IndErr" type="java.lang.String"><![CDATA[0]]></Field> <Field name="IndLogMethod" type="java.lang.String">null</Field> <Field name="IndLogNb" type="java.lang.String">null</Field> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="KcmAk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmCond" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmErrDel" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmJoin" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmNull" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KcmPk" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KimJrnPop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmCreate" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmDrop" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmExtend" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmLock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmPurge" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetInstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSetUninstall" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmSubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmTableOrder" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnlock" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KjmUnsubscribe" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmAfterInt" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KlmJrn" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KxmUsed" type="java.lang.String">null</Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[222]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Flag rows for update]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[34383000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[update <%=odiRef.getTable("L", "INT_NAME", "A")%> set IND_UPDATE = 'U' where exists ( select 'X' from <%=odiRef.getTable("L", "TARG_NAME", "A")%> <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> T where <%=odiRef.getColList("", snpRef.getTable("L", "INT_NAME", "A")+".[COL_NAME]\t= T.[COL_NAME]", "\n\t\tand\t", "", "(UK)")%> ) ]]></Field> <Field name="LangName" type="java.lang.String">null</Field> <Field name="ITxtOrig" type="com.sunopsis.sql.DbInt"><![CDATA[3000]]></Field> <Field name="SqlIndGrp" type="java.lang.String"><![CDATA[2]]></Field> <Field name="IntVersion" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IndChange" type="java.lang.String">null</Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2009-05-05 10:11:18.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[BTABEUTE]]></Field> <Field name="Enc" type="java.lang.String">null</Field> <Field name="EncKey" type="java.lang.String">null</Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1656000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[12]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1654000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[92]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1655000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[102]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1652000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[172]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1650000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[182]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1651000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[202]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1647000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[222]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1648000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[222]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1648000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[232]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1648000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[242]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1647000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[252]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1649000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[262]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1653000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[282]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[304000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1657000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[292]]></Field> </Object> <Object class="com.sunopsis.dwg.DwgExportSummary"> <Field name="ExpTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="InstObjNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="JoinColNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="JoinNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="KeyColNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="KeyNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="LinkDiagNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="MorigTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="MtxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="OrigTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[3]]></Field> <Field name="OtherObjectsNb" type="com.sunopsis.sql.DbInt"><![CDATA[49]]></Field> <Field name="PlanAgentNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="StepNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="TxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[35]]></Field> <Field name="UeOrigNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="UeUsedNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="VarPlanAgentNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="ScenTxtNb" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="OriginRepositoryID" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> </Object> </SunopsisExport>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de