<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tOracleOutputBulkExec not generating a valid CTL file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutputBulkExec-not-generating-a-valid-CTL-file/m-p/2269672#M47831</link>
    <description>Hello everyone, 
&lt;BR /&gt;I'm trying to load over 4 millions of row into a specific table and i'm using a tOracleOutputBulkExec to load them. I'm experiencing a problem with a specific field only which contains a Date. For some reason, the others date field works fine but only this one I can't get ahold of what's going on. 
&lt;BR /&gt;In the Schema the Field is defined as: 
&lt;BR /&gt;SYS_TIMESTAMP Type: Date DB Type: TIMESTAMP Mask: "dd-MM-yyyy" 
&lt;BR /&gt;However in the generated CTL file, this field is identified as CHARACTER while the others date field (which are defined the same way in the schema appears as TIMESTAMP "dd-MM-yyyy" 
&lt;BR /&gt;This is the generated ctl file for one table: 
&lt;BR /&gt;OPTIONS () 
&lt;BR /&gt;LOAD DATA 
&lt;BR /&gt;CHARACTERSET 'WE8ISO8859P15' 
&lt;BR /&gt;INFILE '/opt/talend/data/INT/BusinessIntelligence//Stage_rms9_products/desc_look.csv' 
&lt;BR /&gt;BADFILE '/opt/talend/data/INT/BusinessIntelligence//Stage_rms9_products/desc_look.csv.bad' 
&lt;BR /&gt;DISCARDFILE '/opt/talend/data/INT/BusinessIntelligence//Stage_rms9_products/desc_look.csv.dsc' 
&lt;BR /&gt;INTO TABLE STG.RMS9_DESC_LOOK 
&lt;BR /&gt;INSERT 
&lt;BR /&gt;FIELDS TERMINATED BY ";" 
&lt;BR /&gt;TRAILING NULLCOLS 
&lt;BR /&gt;("SKU", 
&lt;BR /&gt;"CLASS", 
&lt;BR /&gt;"DEPT", 
&lt;BR /&gt;"SUBCLASS", 
&lt;BR /&gt;"DESC_UP", 
&lt;BR /&gt;"SYSTEM_IND", 
&lt;BR /&gt;"WASTE_TYPE", 
&lt;BR /&gt;"WASTE_PCT", 
&lt;BR /&gt;"DEFAULT_WASTE_PCT", 
&lt;BR /&gt;"SYS_TIMESTAMP", 
&lt;BR /&gt;"SYS_REJECT_ID") 
&lt;BR /&gt;I've done some changed and got it to work by manually modifying the ctl file to : 
&lt;BR /&gt;... 
&lt;BR /&gt;"SYS_TIMESTAMP" TIMESTAMP "dd-MM-yyyy", 
&lt;BR /&gt;... 
&lt;BR /&gt;However, as soon as I reorganized the job files (using multiple tOracleOutputBulkExec) I can't use the manually defined CTL file option because it is looking in the wrong place for the CSV file... 
&lt;BR /&gt; Column Name Position Len Term Encl Datatype 
&lt;BR /&gt;------------------------------ ---------- ----- ---- ---- --------------------- 
&lt;BR /&gt;"SKU" FIRST * ; CHARACTER 
&lt;BR /&gt;"CLASS" NEXT * ; CHARACTER 
&lt;BR /&gt;"DEPT" NEXT * ; CHARACTER 
&lt;BR /&gt;"SUBCLASS" NEXT * ; CHARACTER 
&lt;BR /&gt;"DESC_UP" NEXT * ; CHARACTER 
&lt;BR /&gt;"SYSTEM_IND" NEXT * ; CHARACTER 
&lt;BR /&gt;"WASTE_TYPE" NEXT * ; CHARACTER 
&lt;BR /&gt;"WASTE_PCT" NEXT * ; CHARACTER 
&lt;BR /&gt;"SYS_TIMESTAMP" NEXT * ; DATETIME dd-MM-yyyy 
&lt;BR /&gt;"DEFAULT_WASTE_PCT" NEXT * ; CHARACTER 
&lt;BR /&gt;SQL*Loader-500: Unable to open file (/opt/talend/data/INT/BusinessIntelligence/out.csv) 
&lt;BR /&gt;SQL*Loader-553: file not found 
&lt;BR /&gt;SQL*Loader-509: System error: No such file or directory 
&lt;BR /&gt;SQL*Loader-2026: the load was aborted because SQL Loader cannot continue. 
&lt;BR /&gt;The file is being created as DESC_LOOK.csv in a subfolder /opt/talend/data/INT/BusinessIntelligence/StagingImport/products/desc_look.csv 
&lt;BR /&gt;Is there any way I can get this component to work ? &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;Also, I've tried checking/unchecking the Use Date Format from the Schema to load with no change... 
&lt;BR /&gt;Thanks</description>
    <pubDate>Sat, 16 Nov 2024 12:09:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:09:49Z</dc:date>
    <item>
      <title>tOracleOutputBulkExec not generating a valid CTL file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutputBulkExec-not-generating-a-valid-CTL-file/m-p/2269672#M47831</link>
      <description>Hello everyone, 
&lt;BR /&gt;I'm trying to load over 4 millions of row into a specific table and i'm using a tOracleOutputBulkExec to load them. I'm experiencing a problem with a specific field only which contains a Date. For some reason, the others date field works fine but only this one I can't get ahold of what's going on. 
&lt;BR /&gt;In the Schema the Field is defined as: 
&lt;BR /&gt;SYS_TIMESTAMP Type: Date DB Type: TIMESTAMP Mask: "dd-MM-yyyy" 
&lt;BR /&gt;However in the generated CTL file, this field is identified as CHARACTER while the others date field (which are defined the same way in the schema appears as TIMESTAMP "dd-MM-yyyy" 
&lt;BR /&gt;This is the generated ctl file for one table: 
&lt;BR /&gt;OPTIONS () 
&lt;BR /&gt;LOAD DATA 
&lt;BR /&gt;CHARACTERSET 'WE8ISO8859P15' 
&lt;BR /&gt;INFILE '/opt/talend/data/INT/BusinessIntelligence//Stage_rms9_products/desc_look.csv' 
&lt;BR /&gt;BADFILE '/opt/talend/data/INT/BusinessIntelligence//Stage_rms9_products/desc_look.csv.bad' 
&lt;BR /&gt;DISCARDFILE '/opt/talend/data/INT/BusinessIntelligence//Stage_rms9_products/desc_look.csv.dsc' 
&lt;BR /&gt;INTO TABLE STG.RMS9_DESC_LOOK 
&lt;BR /&gt;INSERT 
&lt;BR /&gt;FIELDS TERMINATED BY ";" 
&lt;BR /&gt;TRAILING NULLCOLS 
&lt;BR /&gt;("SKU", 
&lt;BR /&gt;"CLASS", 
&lt;BR /&gt;"DEPT", 
&lt;BR /&gt;"SUBCLASS", 
&lt;BR /&gt;"DESC_UP", 
&lt;BR /&gt;"SYSTEM_IND", 
&lt;BR /&gt;"WASTE_TYPE", 
&lt;BR /&gt;"WASTE_PCT", 
&lt;BR /&gt;"DEFAULT_WASTE_PCT", 
&lt;BR /&gt;"SYS_TIMESTAMP", 
&lt;BR /&gt;"SYS_REJECT_ID") 
&lt;BR /&gt;I've done some changed and got it to work by manually modifying the ctl file to : 
&lt;BR /&gt;... 
&lt;BR /&gt;"SYS_TIMESTAMP" TIMESTAMP "dd-MM-yyyy", 
&lt;BR /&gt;... 
&lt;BR /&gt;However, as soon as I reorganized the job files (using multiple tOracleOutputBulkExec) I can't use the manually defined CTL file option because it is looking in the wrong place for the CSV file... 
&lt;BR /&gt; Column Name Position Len Term Encl Datatype 
&lt;BR /&gt;------------------------------ ---------- ----- ---- ---- --------------------- 
&lt;BR /&gt;"SKU" FIRST * ; CHARACTER 
&lt;BR /&gt;"CLASS" NEXT * ; CHARACTER 
&lt;BR /&gt;"DEPT" NEXT * ; CHARACTER 
&lt;BR /&gt;"SUBCLASS" NEXT * ; CHARACTER 
&lt;BR /&gt;"DESC_UP" NEXT * ; CHARACTER 
&lt;BR /&gt;"SYSTEM_IND" NEXT * ; CHARACTER 
&lt;BR /&gt;"WASTE_TYPE" NEXT * ; CHARACTER 
&lt;BR /&gt;"WASTE_PCT" NEXT * ; CHARACTER 
&lt;BR /&gt;"SYS_TIMESTAMP" NEXT * ; DATETIME dd-MM-yyyy 
&lt;BR /&gt;"DEFAULT_WASTE_PCT" NEXT * ; CHARACTER 
&lt;BR /&gt;SQL*Loader-500: Unable to open file (/opt/talend/data/INT/BusinessIntelligence/out.csv) 
&lt;BR /&gt;SQL*Loader-553: file not found 
&lt;BR /&gt;SQL*Loader-509: System error: No such file or directory 
&lt;BR /&gt;SQL*Loader-2026: the load was aborted because SQL Loader cannot continue. 
&lt;BR /&gt;The file is being created as DESC_LOOK.csv in a subfolder /opt/talend/data/INT/BusinessIntelligence/StagingImport/products/desc_look.csv 
&lt;BR /&gt;Is there any way I can get this component to work ? &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;Also, I've tried checking/unchecking the Use Date Format from the Schema to load with no change... 
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 12:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutputBulkExec-not-generating-a-valid-CTL-file/m-p/2269672#M47831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutputBulkExec not generating a valid CTL file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutputBulkExec-not-generating-a-valid-CTL-file/m-p/2269673#M47832</link>
      <description>Problem solved, for some reason TIMESTAMP doesn't go in the CTL file while DATE is going...  Just changed DB Type to DATE and it works.</description>
      <pubDate>Fri, 26 Oct 2012 16:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutputBulkExec-not-generating-a-valid-CTL-file/m-p/2269673#M47832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-26T16:35:23Z</dc:date>
    </item>
  </channel>
</rss>

