<?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 How to create batch header and trailer records in output file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346871#M114219</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to create Batch header and trailer with detail records&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Input is single file for example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ID,Name1,Name2&lt;/P&gt;&lt;P&gt;10,a1,a2&lt;/P&gt;&lt;P&gt;10,b1,b2&lt;/P&gt;&lt;P&gt;20,c1,c2&lt;/P&gt;&lt;P&gt;20,d1,d2&lt;/P&gt;&lt;P&gt;20,e1,e2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output be like&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;B10&lt;/P&gt;&lt;P&gt;Da1a2&lt;/P&gt;&lt;P&gt;Db1b2&lt;/P&gt;&lt;P&gt;T10&lt;/P&gt;&lt;P&gt;B20&lt;/P&gt;&lt;P&gt;DC1C2&lt;/P&gt;&lt;P&gt;Dd1d2&lt;/P&gt;&lt;P&gt;De1e2&lt;/P&gt;&lt;P&gt;T20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we achieve this? Please help&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 13:39:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-07T13:39:56Z</dc:date>
    <item>
      <title>How to create batch header and trailer records in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346871#M114219</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to create Batch header and trailer with detail records&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Input is single file for example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ID,Name1,Name2&lt;/P&gt;&lt;P&gt;10,a1,a2&lt;/P&gt;&lt;P&gt;10,b1,b2&lt;/P&gt;&lt;P&gt;20,c1,c2&lt;/P&gt;&lt;P&gt;20,d1,d2&lt;/P&gt;&lt;P&gt;20,e1,e2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output be like&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;B10&lt;/P&gt;&lt;P&gt;Da1a2&lt;/P&gt;&lt;P&gt;Db1b2&lt;/P&gt;&lt;P&gt;T10&lt;/P&gt;&lt;P&gt;B20&lt;/P&gt;&lt;P&gt;DC1C2&lt;/P&gt;&lt;P&gt;Dd1d2&lt;/P&gt;&lt;P&gt;De1e2&lt;/P&gt;&lt;P&gt;T20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we achieve this? Please help&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346871#M114219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T13:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create batch header and trailer records in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346872#M114220</link>
      <description>&lt;P&gt;I'm assuming the batches are identified by the ID. If that is the case, this is relatively easy. However, it is a little complicated to explain quickly and I do not have a great deal of time right now. So I have knocked up an example (it's quicker to do than explain) in v6.5.1. Take a look at this and see if you can work with it. You may need to download Talend 6.5.1 to use this if you aren't using that version.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ls3Q"&gt;BatchAndTrailer.zip&lt;/A&gt;</description>
      <pubDate>Sat, 10 Feb 2018 19:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346872#M114220</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-10T19:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create batch header and trailer records in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346873#M114221</link>
      <description>&lt;P&gt;THANK YOU SO MUCH. It is working. Thanks alot.&lt;/P&gt;
&lt;P&gt;is there any way to get Count of number of records per each group to append to Trailer Record for every batch?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346873#M114221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-12T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create batch header and trailer records in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346874#M114222</link>
      <description>&lt;P&gt;You can do this with a tAggregateRow component. I believe you can just add the calculation (count) into one of the ones I put into the job....I don't have it here at the moment and am not using 6.5 so I can't look at it.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346874#M114222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-12T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create batch header and trailer records in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346875#M114223</link>
      <description>&lt;P&gt;Thanks alot. Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 10:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-batch-header-and-trailer-records-in-output-file/m-p/2346875#M114223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-13T10:22:23Z</dc:date>
    </item>
  </channel>
</rss>

