<?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: [resolved] How to write every row from tParseRecordSet to a different delim file? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367506#M130879</link>
    <description>Thank you umeshrakhe. &lt;BR /&gt;I tried your suggestion, but it is not possible to connect tFlowToIterate with tFileOutputDelimited. &lt;BR /&gt;What should I do to link tFlowToIterate with tFileOutputDelimited?</description>
    <pubDate>Thu, 28 Feb 2013 15:20:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-28T15:20:32Z</dc:date>
    <item>
      <title>[resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367503#M130876</link>
      <description>Hello. 
&lt;BR /&gt;I have a requirement, where a stored procedure's resulting records must be saved in different files. In other words, if the SP returns 10 rows, each of them should be saved in different csv files, a total of 10 files. The files should be named after a particular column in the result. 
&lt;BR /&gt;I currently I have my setup like this: 
&lt;BR /&gt;
&lt;PRE&gt;tRowGenerator_1 --&amp;gt; tMSSqlSP_1 --&amp;gt; tParseRecordSet_1 --&amp;gt; tFileOutputDelimited_1  --&amp;gt; tLogRow_1&lt;/PRE&gt;
&lt;BR /&gt;This works if I want all the data in a single file. 
&lt;BR /&gt;But I want them in different files, plus the files should be named based on a column, for example OrderID, in the SP results. How do I do this? 
&lt;BR /&gt;Many thanks for any one that can help.</description>
      <pubDate>Sat, 16 Nov 2024 12:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367503#M130876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367504#M130877</link>
      <description>Please someone help. Thank you so much.</description>
      <pubDate>Wed, 27 Feb 2013 21:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367504#M130877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-27T21:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367505#M130878</link>
      <description>just use flow to iterate component to get each row from main flow and add that row in single file, used any column from tFlowtoIterate to named the file. &lt;BR /&gt;&lt;PRE&gt;tRowGenerator_1 --&amp;gt; tMSSqlSP_1 --&amp;gt; tParseRecordSet_1 --&amp;gt;tFlowtoIterate---&amp;gt; tFileOutputDelimited_1  --&amp;gt; tLogRow_1&lt;/PRE&gt;&lt;BR /&gt;hope this will work for your requirement.</description>
      <pubDate>Thu, 28 Feb 2013 07:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367505#M130878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-28T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367506#M130879</link>
      <description>Thank you umeshrakhe. &lt;BR /&gt;I tried your suggestion, but it is not possible to connect tFlowToIterate with tFileOutputDelimited. &lt;BR /&gt;What should I do to link tFlowToIterate with tFileOutputDelimited?</description>
      <pubDate>Thu, 28 Feb 2013 15:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367506#M130879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-28T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367507#M130880</link>
      <description>I donT have MSsql, but I was able to solve for: 
&lt;BR /&gt;"records must be saved in different files. ..., each of them should be saved in different csv files, ... 
&lt;BR /&gt;The files should be named after a particular column in the result. " 
&lt;BR /&gt; 
&lt;PRE&gt;tRowGenerator -row1-&amp;gt; tFlowToIterate -iterate-&amp;gt; tFixedFlowInput -row3-&amp;gt; tFileOutputDelimited&lt;/PRE&gt; 
&lt;BR /&gt;tRowGenerator creates rows, each with a string and a number column: FileNameCol and NumberCol. 
&lt;BR /&gt;tFixedFlowInput uses a Single Table: 
&lt;BR /&gt; 
&lt;PRE&gt;Column           Value&lt;BR /&gt;FileNameCol      row1.FileNameCol&lt;BR /&gt;NumberCol        row1.NumberCol&lt;/PRE&gt; 
&lt;BR /&gt;If you have a lot of columns, this tFixedFlowInput component might be a bit of a pain to set up. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&lt;BR /&gt; 
&lt;B&gt;The File Name in tFileOutputDelimited is from row1, not row3!&lt;/B&gt; 
&lt;BR /&gt;"C:/Talend/TOS_DI-Win32-r92826-V5.2.0/workspace/out_" + 
&lt;B&gt;row1.FileNameCol&lt;/B&gt; + ".csv" 
&lt;BR /&gt;(When I had used row3.FileNameCol, the file name and content were different (shifted one value) and the last file had the name out_null.csv.) 
&lt;BR /&gt; 
&lt;BR /&gt;I would think that the following should work for your requirement: 
&lt;BR /&gt; 
&lt;PRE&gt;tRowGenerator_1 --&amp;gt; tMSSqlSP_1 --&amp;gt; tParseRecordSet_1 --&amp;gt; tFlowToIterate -iterate-&amp;gt; tFixedFlowInput --&amp;gt; tFileOutputDelimited_1  --&amp;gt; tLog&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2013 20:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367507#M130880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T20:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367508#M130881</link>
      <description>And it did. Thank you very much uInfinity. FYI, I couldn't use row1.FileNameCol, I had to use tFlowToIterate_1.FileNameCol, which got converted to ((String)globalMap.get("FileNameCol")) - Is this correct? 
&lt;BR /&gt; 
&lt;BR /&gt;Many thanks again.</description>
      <pubDate>Fri, 01 Mar 2013 22:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367508#M130881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-01T22:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367509#M130882</link>
      <description>How you did it sounds better.
&lt;BR /&gt;The components reference guide for tFlowToIterate mentions that global variables are set:
&lt;BR /&gt;"
&lt;B&gt;Function:&lt;/B&gt; tFlowToIterate iterates on the input data and 
&lt;B&gt;generates global variables&lt;/B&gt;."
&lt;BR /&gt;Your way is more in line with the example for tFlowToIterate:
&lt;BR /&gt;"
&lt;B&gt;Scenario:&lt;/B&gt; Transforming data flow to a list"</description>
      <pubDate>Sat, 02 Mar 2013 09:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367509#M130882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-02T09:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to write every row from tParseRecordSet to a different delim file?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367510#M130883</link>
      <description>Hi dministrator&lt;BR /&gt;you can put tJava after tFlowToIterate then you will get Main connector to connect with tFixedFlowInput. &lt;BR /&gt;tFlowToIterate ----tJava--main--tFixedFlowInput&lt;BR /&gt;hope this will work.</description>
      <pubDate>Mon, 04 Mar 2013 07:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-write-every-row-from-tParseRecordSet-to-a/m-p/2367510#M130883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-04T07:04:40Z</dc:date>
    </item>
  </channel>
</rss>

