<?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 can I append trailer record to output datafile in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299042#M71433</link>
    <description>&lt;P&gt;Still getting the same error for rest of the columns which I have populated in data file but doesn’t want in trailer record like below –&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Detail Message: CM_ADDRESS2 cannot be resolved or is not a field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same error for rest of all data fields.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 23:14:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-26T23:14:44Z</dc:date>
    <item>
      <title>How can I append trailer record to output datafile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299040#M71431</link>
      <description>&lt;P&gt;I am able to create my output file and I need few columns out of output file to be aggregated and send it as trailer record.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using aggregation of those few columns and appending to existing output file where I am getting errors for rest all the columns which I have already populated while creating data file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 21:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299040#M71431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T21:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I append trailer record to output datafile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299041#M71432</link>
      <description>&lt;P&gt;An easy way to do this is to load your data as normal, add a tAggregateRow after the file output, carry out the summing and store the result in a tHashOutput. Then in the next subjob, read from a tHashInput and write to the file using another file output component. Set the 2nd file output component to append and the result will be added to the bottom. As a quick demo, the layout will look similar to this....&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-26 at 22.05.16.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lx2V.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143013iE772AE966733E55F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lx2V.png" alt="0683p000009Lx2V.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In the above demo I am generating random data using the tRowGenerator, loading that to a csv file, aggregating a numeric column and storing the data in the tHashOutput. Then below that the data is being read and simply added to the file at the end.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 22:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299041#M71432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T22:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I append trailer record to output datafile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299042#M71433</link>
      <description>&lt;P&gt;Still getting the same error for rest of the columns which I have populated in data file but doesn’t want in trailer record like below –&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Detail Message: CM_ADDRESS2 cannot be resolved or is not a field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same error for rest of all data fields.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 23:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299042#M71433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-26T23:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I append trailer record to output datafile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299043#M71434</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMxTAAW"&gt;@satishinfa&lt;/A&gt;,can you show your job desing and on which component ,are you getting this error?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 05:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299043#M71434</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-04-27T05:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I append trailer record to output datafile</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299044#M71435</link>
      <description>&lt;P&gt;You need to create a different schema from the point of the tAggregateRow component. Look at the output schema and ONLY output the columns you want. Then, if the aggregate is over the whole data set, do not add a group-by column and just use the appropriate function(s) for the output columns. Then your tHash component will have one row with a the appropriate schema. After that it is just a case of connecting to the file out in a different subjob (as I have demintrated above).&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 11:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-can-I-append-trailer-record-to-output-datafile/m-p/2299044#M71435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-27T11:38:16Z</dc:date>
    </item>
  </channel>
</rss>

