<?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 Re: How to add header to the file created with tDBOutputBulkExec component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365774#M129343</link>
    <description>&lt;P&gt;Hi Shong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than you for your answer&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 05:29:13 GMT</pubDate>
    <dc:creator>Talendny</dc:creator>
    <dc:date>2023-12-11T05:29:13Z</dc:date>
    <item>
      <title>How to add header to the file created with tDBOutputBulkExec component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365770#M129339</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using tDBOutputBulkExec component to capture tmap output and to load into DB. But  when there is 0 records from tmap, 0kb file is generated which is not allowed in s3, so my job fails in middle way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know how to add header to this file (file is created at the time of job run). Is there any parameter to be defined?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365770#M129339</guid>
      <dc:creator>Talendny</dc:creator>
      <dc:date>2024-11-15T21:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add header to the file created with tDBOutputBulkExec component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365771#M129340</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As the tDBOutputBulk and tDBBulkExec components are used together in a two step process, could you please post your job design screenshots here which will be helpful for us to understand your current situation and address your issue?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 02:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365771#M129340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-08T02:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add header to the file created with tDBOutputBulkExec component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365772#M129341</link>
      <description>&lt;P&gt;Hi Xdshi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000000uE3bIAE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138970i312F21821CA9E579/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000000uE3bIAE.png" alt="069U1000000uE3bIAE.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm connecting tmap to tDBOutputBulkExec component and connecting to RedShift DB. The records passed from tmap is written into a file and file is placed in s3 and then the file writes to db. S3 bucket will not allow 0kb files. Whenever 0 records are passed from tmap, tDBOutputBulkExec generates 0kb file and it is not placed in s3, so jobs throws file not found error when writing to db. If i have an option to write header into file, the file can be placed into s3. I would like to know is there any option or parameters to set file properties to write header while creating the file.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 06:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365772#M129341</guid>
      <dc:creator>Talendny</dc:creator>
      <dc:date>2023-12-08T06:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add header to the file created with tDBOutputBulkExec component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365773#M129342</link>
      <description>&lt;P&gt;@Yamuna Saravanan​&amp;nbsp;, the 'Include header' option is not available ontDBOutputBulkExec. As a workaround,  write the records into a temporary file using tFileOutputDelmited or memory using tHashOutput, there is a global variable such as ((String)globalMap.get("tFileOutputDelimited_1_FILE_NAME")) that counts the total number of records, check this variable if it greater than 0, then trigger the next processing using runIf connector. &lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;....tMap--out1--tFileOutputDelimeted_1&lt;/P&gt;&lt;P&gt;--runIf--tFileInputDelimited_1--main--tDBOutputBulkExec_1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileOutputDelimeted_1: write the records into temporary file.&lt;/P&gt;&lt;P&gt;set the condition of runIf as:&lt;/P&gt;&lt;P&gt;((Integer)globalMap.get("tFileOutputDelimited_1_NB_LINE"))&amp;gt;0&lt;/P&gt;&lt;P&gt;tFileInputDelimited_1: read the records back from temporary file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 10:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365773#M129342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-08T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to add header to the file created with tDBOutputBulkExec component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365774#M129343</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than you for your answer&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 05:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-add-header-to-the-file-created-with-tDBOutputBulkExec/m-p/2365774#M129343</guid>
      <dc:creator>Talendny</dc:creator>
      <dc:date>2023-12-11T05:29:13Z</dc:date>
    </item>
  </channel>
</rss>

