<?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] write string to text file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297531#M70094</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello,&lt;BR /&gt;tFileList----iterate(x 5)-----tFileInputDelimeted---row------SOMEPROCESSING--------tMysqlOutput(parallel execution enabled.)&lt;BR /&gt;Is there any way to do that.&lt;BR /&gt;Thanks&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;You can create the job like this: 
&lt;BR /&gt;main job: 
&lt;BR /&gt;tFileList--iterate--tRunJob_1 
&lt;BR /&gt;tRunJob_1: call the child job and pass the current file path (and the current file name) to the child job for use later, uncheck the 'die on error' option. 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tFileInputDelimited--main--&amp;gt;someprocessing--&amp;gt;tMysqlOutput 
&lt;BR /&gt; --onsubjobok--&amp;gt;tFixedFlowInput_1---main--&amp;gt;tFileOutput 
&lt;BR /&gt; --onsubjoberror_&amp;gt;tFixedFlowInput_2_--&amp;gt;main--&amp;gt;tFileOutput 
&lt;BR /&gt;check the 'die on error' option both on tFileInputDelimited and tMysqlOutput 
&lt;BR /&gt;on tFixedFlowInput_1, define two column or more columns depends on your need, let's define two column: 
&lt;BR /&gt;filename: set the value with current file name or file path 
&lt;BR /&gt;status: set the value as "success" 
&lt;BR /&gt;on tFixedFlowInput_2, define two column or more columns depends on your need, let's define two column: 
&lt;BR /&gt;filename: set the value with current file name or file path 
&lt;BR /&gt;status: set the value as "failure" 
&lt;BR /&gt;Shong</description>
    <pubDate>Mon, 23 Jun 2014 15:33:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-23T15:33:20Z</dc:date>
    <item>
      <title>[resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297526#M70089</link>
      <description>I require to format my variables from a database table inserting them into a text file (not csv)&lt;BR /&gt;How can I simply write a text file? I want to format it the same as you would format an email. Is this an existing feature?&lt;BR /&gt;(I am using a java project).&lt;BR /&gt;Thank you for any help.</description>
      <pubDate>Sat, 16 Nov 2024 13:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297526#M70089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297527#M70090</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I require to format my variables&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;What do you mean here? Can you give us an example?
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;inserting them into a text file (not csv)&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Just use a tFileOutputDelimited to output a file, set the extension of file name as: .txt
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 29 Dec 2009 05:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297527#M70090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-29T05:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297528#M70091</link>
      <description>basically I have 2 tables, from the first table I must pull a row of data, then pull all the corresponding data in the second table.&lt;BR /&gt;From the first table I must make a text output similar to this:&lt;BR /&gt;client_nr=1&lt;BR /&gt;branch_nr=1&lt;BR /&gt;sent=0303030303&lt;BR /&gt;ordered=202020202&lt;BR /&gt;then for every row from the second database I must output something similar to&lt;BR /&gt;rowDetails=1,2,3,4;&lt;BR /&gt;The tfileoutputdelimited I shall look into, if you have a better idea now seeing the format which I require please do let me know.</description>
      <pubDate>Tue, 29 Dec 2009 07:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297528#M70091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-29T07:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297529#M70092</link>
      <description>Hello 
&lt;BR /&gt;You can do a a join, add new columns and set fixed value on tMap, eg: 
&lt;BR /&gt;add a new column called key and set a fixed value base on row number. 
&lt;BR /&gt;On the tFileOutputDelimited, define the field separator as "=". 
&lt;BR /&gt;If you give me an example of your first table and second table, and what your output file looks like, I can give you a demo. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 29 Dec 2009 08:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297529#M70092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-29T08:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297530#M70093</link>
      <description>Hello,
&lt;BR /&gt;i am creating a Job for processing of files , process it , save it in db.
&lt;BR /&gt;While doing this i want to log filename with their status like they processed successfully or not in a file or DB.
&lt;BR /&gt;tFileList----iterate(x 5)-----tFileInputDelimeted---row------SOMEPROCESSING--------tMysqlOutput(parallel execution enabled.)
&lt;BR /&gt;Is there any way to do that.
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 23 Jun 2014 12:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297530#M70093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-23T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297531#M70094</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello,&lt;BR /&gt;tFileList----iterate(x 5)-----tFileInputDelimeted---row------SOMEPROCESSING--------tMysqlOutput(parallel execution enabled.)&lt;BR /&gt;Is there any way to do that.&lt;BR /&gt;Thanks&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;You can create the job like this: 
&lt;BR /&gt;main job: 
&lt;BR /&gt;tFileList--iterate--tRunJob_1 
&lt;BR /&gt;tRunJob_1: call the child job and pass the current file path (and the current file name) to the child job for use later, uncheck the 'die on error' option. 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tFileInputDelimited--main--&amp;gt;someprocessing--&amp;gt;tMysqlOutput 
&lt;BR /&gt; --onsubjobok--&amp;gt;tFixedFlowInput_1---main--&amp;gt;tFileOutput 
&lt;BR /&gt; --onsubjoberror_&amp;gt;tFixedFlowInput_2_--&amp;gt;main--&amp;gt;tFileOutput 
&lt;BR /&gt;check the 'die on error' option both on tFileInputDelimited and tMysqlOutput 
&lt;BR /&gt;on tFixedFlowInput_1, define two column or more columns depends on your need, let's define two column: 
&lt;BR /&gt;filename: set the value with current file name or file path 
&lt;BR /&gt;status: set the value as "success" 
&lt;BR /&gt;on tFixedFlowInput_2, define two column or more columns depends on your need, let's define two column: 
&lt;BR /&gt;filename: set the value with current file name or file path 
&lt;BR /&gt;status: set the value as "failure" 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 23 Jun 2014 15:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297531#M70094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-23T15:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297532#M70095</link>
      <description>Thanks Shong, for replying. 
&lt;BR /&gt;The above setup works. 
&lt;BR /&gt;Thanks again.</description>
      <pubDate>Wed, 25 Jun 2014 04:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297532#M70095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-25T04:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] write string to text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297533#M70096</link>
      <description>Hi Shong,
&lt;BR /&gt;Above setup works fine.
&lt;BR /&gt;But the thing is that, when I tried to create a zip of all jobs using 'Build Job' Option in Talend and try to upload it in TAC, it is showing me an error like jobinfo.properties is missing at root.
&lt;BR /&gt;but while creating individual Build of every jobs, jobinfo.properties is present in every zip file.
&lt;BR /&gt;So, the question is how to upload and run all these jobs in TAC (Talend Administration Center)?
&lt;BR /&gt;Hope you got the question.
&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 26 Jun 2014 11:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-write-string-to-text-file/m-p/2297533#M70096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-26T11:37:41Z</dc:date>
    </item>
  </channel>
</rss>

