Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\misc\CodeTemplates\KM_LKM File to Oracle (SQLLDR).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.3]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2006-12-19 18:01:34.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[SUPERVISOR]]></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[68000]]></Field> <Field name="ITxtTrtTxt" type="com.sunopsis.sql.DbInt"><![CDATA[1947000]]></Field> <Field name="KimMultiDserver" type="java.lang.String"><![CDATA[1]]></Field> <Field name="KmDefault" type="java.lang.String"><![CDATA[0]]></Field> <Field name="KmSrcTechno" type="java.lang.String"><![CDATA[FILE]]></Field> <Field name="KmTechno" type="java.lang.String"><![CDATA[ORACLE]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:21.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LChecksum" type="com.sunopsis.sql.DbInt"><![CDATA[4141]]></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[LKM File to Oracle (SQLLDR)]]></Field> <Field name="TrtType" type="java.lang.String"><![CDATA[KL]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[1947000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[COMPONENT NAME: LKM File to Oracle (SQLLDR) COMPONENT VERSION: 10.1.3.3 AUTHOR: Oracle COMPATIBILITY: ODI 10.1.3.5.0 and above DESCRIPTION This LKM loads flat file data into Oracle by using the SQL*LOADER utility. Call to SQL*LOADER is made and stdout and stderr are redirected into log files. A specific log file is created by SQL*LOADER. Oracle recommends looking at this file in case of error. Control Files (CTL), Log files (LOG), Discard Files (DSC) and Bad files (BAD) are placed in the work directory defined in the physical schema of the source file. REQUIREMENTS The source file must be accessible by the ODI agent executing the interface. The agent machine must have Oracle SQL client installed and a valid TNS configuration containing the instance name defined in the Topology. All mappings need to be on the staging area. All source fields need to be mapped for delimited files. Date, Timestamp and Numeric formats should be specified on source columns in the ODI COL_FORMAT field, if they do not match default client NLS settings. Please refer to Java Help for details on format syntax, e.g. "dd-MM-yyyy HH:mm:ss" for Timestamp. Following date and timestamp format translations are supported: Java Oracle Note "y", "Y" // Year, supported: yyyy;yy => 1996;96 "MMMM(M)*" "MONTH" // Month, supported: MMMM => July "MMM" "MON" // Month, supported: MMM => JUL "M" "M" // Month, supported: MM;M => 07;7 "W" "W" // Week in month "w" "WW" // Week in year "DDD" "DDD" // Day in year "dd" "DD" // Day in month "a" "AM" // Am/pm marker "HH" "HH24" // Hour in day (0-23) "KK" "HH12" // Hour in day (0-11) "mm" "MI" // Minute in hour "SSSSSS" "FF6" // Millisecond in second "SSSSS" "FF5" // Millisecond in second "SSSS" "FF4" // Millisecond in second "SSS" "FF3" // Millisecond in second "SS" "FF2" // Millisecond in second "S" "FF1" // Millisecond in second "ss" "SS" // Second in minute "Z" "TZH:TZM" // Timezone, supported: Z => +02:00 BASIC CONFIGURATION 1. Specify the logical format for NUMERIC and DATE columns, if the format does not match client nls settings. 2. Set NLS_DATE_LANGUAGE, if your dates contain language specific elements such as month names and the client language does not match these. Note: select * from nls_session_parameters returns nls settings of client. 3. Set NLS_NUMERIC_CHARACTERS, if your file number format does not match the client NLS settings. OPTIONS (Refer to Option descriptions for more information on each option) - DELETE_TEMPORARY_OBJECTS: Delete temp objects after integration phase - WORK_TABLE_OPTIONS: table options for work table - LOA_DIRECT: Use direct path insert? - LOA_DISCARDMAX: Max number of records to discard - LOA_ERRORS: Max number of errors for SQL Loader - COMPATIBLE: RDBMS version of staging database - VALIDATE: Validate use of KM and options - NLS_DATE_LANGUAGE: Language of date/timestamp elements - NLS_NUMERIC_CHARACTERS: Override client NLS_NUMERIC_CHARACTERS setting LIMITATIONS Only file technology data types NUMERIC, DATE (including TIMESTAMP) and CHAR are supported. For Timestamps with timezones TZ will be truncated. For loading TS with TZ, please specify the source column as STRING and apply the appropriate String to TS with TZ transformation, e.g. TO_TIMESTAMP_TZ(ALIAS.COL, 'YYYY-MM-DD HH24:MI:SS TZH:TZM') It may occur that SQL*LOADER returns a 0 code (OK) even if the data was not loaded. Consult the log files for more information.]]></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[2008-10-24 15:19:21.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:21.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[Edit Command]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[1948000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[417000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[40]]></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 files after integration]]></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[1948000]]></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 (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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[User Exit help]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[1949000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[418000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[50]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[NOLOGGING]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[WORK_TABLE_OPTIONS]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Work Table Options]]></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[1949000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Use this option if you wish to create the work table in nologging mode (transaction is not written to redolog files). This option is set by default to NOLOGGING (valid only from Oracle v8). WARNING : This option should be empty for Oracle v7 configurations]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[1950000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[419000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[130]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[FALSE]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[LOA_DIRECT]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Use direct path insert?]]></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[1950000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Set this value to TRUE if you wish to use the direct path loading (faster). Please note that direct path loading is only possible, if NO sql transformations are done on any columns. Whether SQL transformations are reqired depends on KM NLS options and column formats.]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[1951000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[420000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[140]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[1]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[LOA_DISCARDMAX]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Max number of records to discard]]></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[1951000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Set this property to a greater value if you wish to to discard more than one record.]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[1952000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[421000]]></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[LOA_ERRORS]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Max number of errors for SQL Loader]]></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[1952000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[Enter the maximum number of errors allowed in the file.]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[6862000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1489000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[200]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[9]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[COMPATIBLE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[RDBMS version of staging database]]></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[6862000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[This option affects the use of PURGE key word and the way statistics are collected: Values PURGE STATS 10 Yes DBMS_STATS 9 No DBMS_STATS 8 No ANALYZE]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[6863000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1490000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[210]]></Field> <Field name="ShortValue" type="java.lang.String"><![CDATA[0]]></Field> <Field name="UeName" type="java.lang.String"><![CDATA[VALIDATE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Validate use of KM and options]]></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[6863000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[This option generates an extra validation step during development. Validations performed are: - validation of KM option COMPATIBLE - test of mapping location. (Mappings need to be executed on staging) This option should be turned off for all production use in particular for high-frequency execution. There is not added value in production, only processing overhead.]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[31805000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1901000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[300]]></Field> <Field name="ShortValue" type="java.lang.String">null</Field> <Field name="UeName" type="java.lang.String"><![CDATA[NLS_DATE_LANGUAGE]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[Language of date elements]]></Field> <Field name="UeType" type="java.lang.String"><![CDATA[T]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[31805000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[When loading timestamp data containing language specific elements like the name of a month, this options specifies the language. Valid values are e.g. ENGLISH, FRENCH. If left blank, the default client setting of executing agent process is used. Please refer to Oracle Database Globalization Support Guide National Language Support Guide, Appendix A Locale Data, Languages for more details.]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="ITxtUeHelp" type="com.sunopsis.sql.DbInt"><![CDATA[31806000]]></Field> <Field name="ITxtValue" type="com.sunopsis.sql.DbInt"><![CDATA[null]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1902000]]></Field> <Field name="Position" type="com.sunopsis.sql.DbInt"><![CDATA[310]]></Field> <Field name="ShortValue" type="java.lang.String">null</Field> <Field name="UeName" type="java.lang.String"><![CDATA[NLS_NUMERIC_CHARACTERS]]></Field> <Field name="UeSdesc" type="java.lang.String"><![CDATA[NLS_NUMERIC_CHARACTERS]]></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[31806000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[When loading numeric values using SQL*Loader, NLS_NUMERIC_CHARACTERS setting of client defines decimal separator, if this option is left blank. Otherwise NLS_NUMERIC_CHARACTERS defined here are used for loading numeric values. The option is a two-character string. The first character defines the decimal separator and the second character defines the grouping character. Note: Setting NLS_NUMERIC_CHARACTERS to anything else then the default, will result in appropriate SQL expressions in the SQL*Loader script preventing direct path loading. Therefore NLS_NUMERIC_CHARACTERS cannot be used with LOA_DIRECT=YES. This is not supported by SQL*Loader. Please consider LKM File to Oracle (External Table) in such sitatuations.]]></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[2008-10-24 15:19:22.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:22.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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"><![CDATA[FILE]]></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[33429000]]></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[2008-10-24 15:19:23.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[2008-10-24 15:19:23.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[3]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[11]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Validate KM options and mapping loc]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33429000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<? int ODIKM_errorsFound = 0; /***********************************************/ /* For fixed length files: Check mappings done on staging */ /***********************************************/ int ODIKM_filePosMissing=0; ?><%=odiRef.getColList("", "<? if (\u0022[FILE_POS]\u0022.length()==0) {ODIKM_filePosMissing=1;}; ?>", "", "", "") %><? /* for fixed length file: any mapping done on source? */ if (ODIKM_filePosMissing==1 && "<%=odiRef.getSrcTablesList("", "[FILE_FORMAT]", ", ", "")%>".equals("F") ) { out.print( "raise '\nMapping NOT allowed on source!' "); ODIKM_errorsFound++; }; /**********************************************/ /* For delimited files: Check that source columns starting from the first one are mapped. No gaps allowed. Mapping on staging */ /**********************************************/ int ODIKM_colCounter=1; int ODIKM_invalidMapping=0; <%=odiRef.getColList("", "if (ODIKM_colCounter!=[POS]) { ODIKM_invalidMapping = 1; };\n", "ODIKM_colCounter++;\n", "", "")%> if (ODIKM_invalidMapping==1 && "D".equals("D") ) { out.print( "raise '\nFor delimited files all source columns between the first in file and the last mapped, need to be mapped on staging! No gaps allowed.' " ); ODIKM_errorsFound++; }; /**********************************************/ /* Check for valid COMPATIBLE values */ /**********************************************/ if (!"<%=odiRef.getOption( "COMPATIBLE" )%>".equals( "10" ) && !"<%=odiRef.getOption( "COMPATIBLE" )%>".equals( "9" ) && !"<%=odiRef.getOption( "COMPATIBLE" )%>".equals( "8" )) { out.print( "raise '\nUnsupported value for COMPATIBLE option.' " ); ODIKM_errorsFound++; }; /**********************************************/ /* Set values according to COMPATIBLE values */ /**********************************************/ /* Use PURGE option for version 10 */ String ODIKM_sPurge = ""; if ("<%=odiRef.getOption( "COMPATIBLE" )%>".equals( "10" ) ) { ODIKM_sPurge = "PURGE"; }; /* Use DBMS_STATS, if newer than v8 */ String ODIKM_gatherStats = "ANALYZE"; if (!"<%=odiRef.getOption( "COMPATIBLE" )%>".equals( "8" ) ) { ODIKM_gatherStats = "DBMS_STATS"; }; /* In case no errors were found, display message in log */ if (ODIKM_errorsFound==0) { out.print( "# No errors detected" ); }; ?>]]></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[2008-10-24 15:19:23.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:23.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[Target Technology]]></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[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"><![CDATA[FILE]]></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[33430000]]></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[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[81]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop work table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33430000]]></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", "COLL_NAME", "W")%> <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "purge" ); }; %>]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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"><![CDATA[FILE]]></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[33431000]]></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[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[91]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Create work table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33431000]]></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", "COLL_NAME", "W")%> ( <%=odiRef.getColList("", "[CX_COL_NAME]\t[DEST_WRI_DT] " + odiRef.getInfo("DEST_DDL_NULL"), ",\n\t", "","")%> ) <%=odiRef.getUserExit("WORK_TABLE_OPTIONS")%>]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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"><![CDATA[FILE]]></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[33432000]]></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[SUNOPSIS_API]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[101]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Generate CTL file]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33432000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<? package com.oracle.odi.km.ext; public class FormatTranslator { // Java Date Formatting information available at http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html // Oracle Date Formatting information available in Oracle SQL Language Reference: Chapter "Basic Elements fo Oracle SQL": DateTime Format Elements static String[][] transTableDate = { {"y", "Y"}, // Year, supported: yyyy;yy => 1996;96 {"MMMM(M)*", "month"}, // Month, supported: MMMM => July {"MMM", "mon"}, // Month, supported: MMM => JUL {"M", "M"}, // Month, supported: MM;M => 07;7 {"month", "MONTH"}, // (auxiliary) {"mon", "MON"}, // (auxiliary) {"W", "W"}, // Week in month {"w", "WW"}, // Week in year {"DDD", "DDD"}, // Day in year {"dd", "DD"}, // Day in month {"a", "AM"}, // Am/pm marker {"HH", "HH24"}, // Hour in day (0-23) {"KK", "HH12"}, // Hour in day (0-11) {"mm", "MI"}, // Minute in hour {"SSSSSS", "FF6"}, // Millisecond in second {"SSSSS", "FF5"}, // Millisecond in second {"SSSS", "FF4"}, // Millisecond in second {"SSS", "FF3"}, // Millisecond in second {"SS", "FF2"}, // Millisecond in second {"S", "FF1"}, // Millisecond in second {"ss", "SS"}, // Second in minute {"Z", "TZH:TZM"} // Timezone, supported: Z => +02:00 }; public static String translate( String srcDT, String colFormat ) throws Exception { String format = ""; if (colFormat.trim().length()==0) /* we use Oracle's default format */ format = ""; else { // Is source column a date? if ( srcDT.toUpperCase().equals( "DATE") ) { format = colFormat; for (int i = 0; i < transTableDate.length; i++) format = format.replaceAll( transTableDate[i][0], transTableDate[i][1] ); } else // Is source column a numeric? if ( srcDT.toUpperCase().equals( "NUMERIC")) { format = ""; } else // Is source column anything else than a string? if ( !srcDT.toUpperCase().equals( "STRING" )) throw new Exception("No format translation defined for data type "+srcDT+"!"); }; if ( format.length() > 0 ) format = format; return format; } } public class sqlldrColFormat { public static String nlsDateLanguage = "<%= (odiRef.getOption("NLS_DATE_LANGUAGE").length()==0)?"":"NLS_DATE_LANGUAGE=''"+odiRef.getOption("NLS_DATE_LANGUAGE")+"''"%>"; public static boolean enforceNlsNumChars = <%=(odiRef.getOption("NLS_NUMERIC_CHARACTERS").length()>0)?"true":"false"%>; public static String nlsNumChars = "NLS_NUMERIC_CHARACTERS=''<%=odiRef.getOption("NLS_NUMERIC_CHARACTERS")%>''"; public static String get( String colName, srcDataType, destDataType, colFormat, colPrecision, colScale ) { String format = ""; String oracleDataFormat = FormatTranslator.translate( srcDataType, colFormat ); // Is the source column a DATE? if ("DATE".equals(srcDataType)) { dataType = ""; dataConvFunc = ""; // How many digits are there for milliseconds? int precision = colFormat.replaceAll("[^S]","").length(); // Does the source column contain a timezone? if (colFormat.indexOf("Z")>-1) { if (precision > 0) { dataType = "TIMESTAMP(" + precision.toString() + ") WITH TIME ZONE"; } else { dataType = "TIMESTAMP WITH TIME ZONE"; }; dataConvFunc = "TO_TIMESTAMP_TZ"; // Does the source column contain milliseconds? } else if (precision > 0) { dataType = "TIMESTAMP(" + precision.toString() + ")"; dataConvFunc = "TO_TIMESTAMP"; // Okay, it's just a normal date! } else { dataType = "DATE"; dataConvFunc = "TO_DATE"; }; // Does the source column contain a language specifc element and has a date language been specified? if ((colFormat.indexOf("MMM")>-1 || colFormat.indexOf("a")>-1) && nlsDateLanguage.length()>0) { // Explicit conversion function required format = " "+(char)34+dataConvFunc+"(:"+colName+", '"+oracleDataFormat+"', '"+nlsDateLanguage+"')"+(char)34; } else { // Is there a column format defined for this column? if (colFormat.length()>0) { // Implicit conversion by date_format clause format = " "+dataType+" "+(char)34+oracleDataFormat+(char)34; } else { // Use client nls settings to convert date/timestamp format = ""; }; }; } else // Is the source column a NUMERIC? if ("NUMERIC".equals(srcDataType)) { // Do we need to enforce NLS settings for numbers? if (enforceNlsNumChars) { precision = new Integer(colPrecision).intValue(); scale = new Integer(colScale).intValue(); // Build a number format according to precision and scale digitsInFront = precision - ((scale==0)?0:(scale + 1)); digitsBehind = scale; if (digitsInFront < 0) throw new Exception("Column " + colName +": Scale > Precision is not supported! Please correct precision/scale!"); format = " "+(char)34+"TO_NUMBER(:"+colName+", '"; format += "99999999999999999999999999999999999999".substring(0,digitsInFront); if (digitsBehind>0) { format += "D"; format += "99999999999999999999999999999999999999".substring(0,digitsBehind); }; format += "', '"+nlsNumChars+"')"+(char)34; } else { format = "DECIMAL EXTERNAL"; }; } else { // The source column is a STRING => no options to add format = ""; }; return format; } } ?>SnpsOutFile "-File=<%=odiRef.getSrcTablesList("", "[WORK_SCHEMA]/[TABLE_NAME].ctl", "", "")%>" OPTIONS ( SKIP=<%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>, ERRORS=<%=odiRef.getUserExit("LOA_ERRORS")%>, DIRECT=<%=odiRef.getUserExit("LOA_DIRECT")%> ) LOAD DATA INFILE "<%=odiRef.getSrcTablesList("", "[SCHEMA]/[RES_NAME]", "", "")%>" "str X'<%=odiRef.getSrcTablesList("[FILE_SEP_ROW]","")%>'" BADFILE "<%=odiRef.getSrcTablesList("", "[WORK_SCHEMA]/[TABLE_NAME].bad", "", "")%>" DISCARDFILE "<%=odiRef.getSrcTablesList("", "[SCHEMA]/[TABLE_NAME].dsc", "", "")%>" DISCARDMAX <%=odiRef.getUserExit("LOA_DISCARDMAX")%> INTO TABLE <%=odiRef.getTable("L", "COLL_NAME", "W")%> <% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%> ( <%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+ "<?=sqlldrColFormat.get(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>" , ",\n\t", "","")%> ) <%} else { %> FIELDS TERMINATED BY X'<%=odiRef.getSrcTablesList("", "[FILE_SEP_FIELD]", "", "")%>' TRAILING NULLCOLS ( <%=odiRef.getColList("", "[CX_COL_NAME]\t"+ "<?=sqlldrColFormat.get(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>" , ",\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[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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"><![CDATA[FILE]]></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[33433000]]></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[SUNOPSIS_API]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[4]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[111]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Call sqlldr]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33433000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[OdiOSCommand "-OUT_FILE=<%=odiRef.getSrcTablesList("[WORK_SCHEMA]/[TABLE_NAME].out", "")%>" "-ERR_FILE=<%=odiRef.getSrcTablesList("[WORK_SCHEMA]/[TABLE_NAME].err", "")%>" sqlldr "control='<%=odiRef.getSrcTablesList("[WORK_SCHEMA]/[TABLE_NAME].ctl","")%>'" "log='<%=odiRef.getSrcTablesList("[WORK_SCHEMA]/[TABLE_NAME].log", "")%>'" userid=<%=odiRef.getInfo("DEST_USER_NAME")%>/<%=odiRef.getInfo("DEST_PASS")%>@<%=odiRef.getInfo("DEST_DSERV_NAME")%>]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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"><![CDATA[FILE]]></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[33434000]]></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[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[121]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Gather statistics]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33434000]]></Field> <Field name="TxtOrd" type="com.sunopsis.sql.DbInt"><![CDATA[0]]></Field> <Field name="Txt" type="java.lang.String"><![CDATA[<% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() < 9 ) { %> analyze table <%=odiRef.getTable("L", "COLL_NAME", "W")%> estimate statistics <% } else { %> BEGIN DBMS_STATS.GATHER_TABLE_STATS ( ownname => '<%=odiRef.getInfo("DEST_WORK_SCHEMA")%>', tabname => '<%=odiRef.getTable("L","COLL_NAME","A").replaceAll("","").replaceAll("..>",".replaceAll(odiRef.getInfo( \\u0022DEST_WORK_SCHEMA\\u0022 )+\\u0022.\\u0022,\\u0022\\u0022)?>")%>', estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE ); END; <% }; %> ]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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"><![CDATA[FILE]]></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[33435000]]></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[ORACLE]]></Field> <Field name="FirstDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></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[1]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LogLevDet" type="java.lang.String"><![CDATA[5]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[131]]></Field> <Field name="SqlName" type="java.lang.String"><![CDATA[Drop work table]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpTxt"> <Field name="ITxt" type="com.sunopsis.sql.DbInt"><![CDATA[33435000]]></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", "COLL_NAME", "W")%> <% if (new Integer(odiRef.getOption( "COMPATIBLE" )).intValue() >= 10 ) { out.print( "purge" ); }; %>]]></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[2008-10-24 15:19:24.0]]></Field> <Field name="FirstUser" type="java.lang.String"><![CDATA[CKURZ]]></Field> <Field name="LastDate" type="java.sql.Timestamp"><![CDATA[2008-10-24 15:19:24.0]]></Field> <Field name="LastUser" type="java.lang.String"><![CDATA[CKURZ]]></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[68000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[1490000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[11]]></Field> </Object> <Object class="com.sunopsis.dwg.dbobj.SnpLineTrtUe"> <Field name="ITrt" type="com.sunopsis.sql.DbInt"><![CDATA[68000]]></Field> <Field name="IUserExit" type="com.sunopsis.sql.DbInt"><![CDATA[417000]]></Field> <Field name="OrdTrt" type="com.sunopsis.sql.DbInt"><![CDATA[131]]></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[19]]></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[17]]></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