<?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: tFileCopy and Chaining jobs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325565#M95153</link>
    <description>Hello,&lt;BR /&gt;I have done new tests.&lt;BR /&gt;I have used a script to open and lock one of the ofx files in the source folder while job j8-4 is running. The tFileCopy does'nt detect this condition: the file is copied from source folder to destination folder but is not deleted from source folder and &lt;B&gt;no error message&lt;/B&gt; is displayed on the console.&lt;BR /&gt;Any idea?&lt;BR /&gt;Thanks.&lt;BR /&gt;OS : WinXP sp3&lt;BR /&gt;JRE 1.6&lt;BR /&gt;Talend 3.2</description>
    <pubDate>Sat, 06 Feb 2010 10:23:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-06T10:23:31Z</dc:date>
    <item>
      <title>tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325558#M95146</link>
      <description>Hello,
&lt;BR /&gt;I an a new TOS user and I have problems when chaining jobs:
&lt;BR /&gt;I have 2 jobs.
&lt;BR /&gt;The first job browse a folder containing OFX files with a tFileList component. Each OFX file is convert to XML format with a java method that I wrote. Then I use a tFileInputXml with a tMap and a tPostgresqlOutput to fill a table in the database.
&lt;BR /&gt;The second lod move the files from the original folder to an archive one. I use a tFileList to browse the original folder and a tFileCopy to copy each file. I have set the "delete source file" option.
&lt;BR /&gt;When i run each job separately from the GUI, everything works OK.
&lt;BR /&gt;The problem comes when I use a new job with 2 tRunJob components to chain previous one. In this case the second subjob (tFileList + tFileCopy) fails to copy the last 2 files processed in the first subjob.
&lt;BR /&gt;I tried to insert a tSleep (5 or 10 sec) component between the 2 tRunJob. The problem is still present.
&lt;BR /&gt;Does anyone have an idea?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 13:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325558#M95146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325559#M95147</link>
      <description>Hello 
&lt;BR /&gt;Which link do you use between the two tRunJobs? Here it should be 'onsubjobok' or 'oncomponentok', eg:
&lt;BR /&gt;tRunJob_1(call the first job)
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tRunJob_2(call the second job)
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 02 Feb 2010 10:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325559#M95147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325560#M95148</link>
      <description>Hello,&lt;BR /&gt;I used:&lt;BR /&gt;tRunJob_1 --&amp;gt;(OnSubjobOk)--&amp;gt; tSleep_1 --&amp;gt;(OnComponentOk)--&amp;gt; tRunJob_2&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 02 Feb 2010 11:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325560#M95148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T11:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325561#M95149</link>
      <description>if there any more exception message?? can you put a screenshot ?</description>
      <pubDate>Tue, 02 Feb 2010 12:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325561#M95149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T12:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325562#M95150</link>
      <description>Good news : it works now!
&lt;BR /&gt;Bad news : I don't know why!
&lt;BR /&gt;I have refactored my jobs to prepare screen captures.
&lt;BR /&gt;While trying to reproduce the problem, it doesn't happened.
&lt;BR /&gt;(to answer to your last question, there is no error message when the problem arise.)
&lt;BR /&gt;I'll post if I find something.
&lt;BR /&gt;Sorry for your wasted time.
&lt;BR /&gt;Thank you for your help.</description>
      <pubDate>Tue, 02 Feb 2010 15:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325562#M95150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T15:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325563#M95151</link>
      <description>it's really a good news for everythings works fine~,</description>
      <pubDate>Tue, 02 Feb 2010 16:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325563#M95151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-02T16:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325564#M95152</link>
      <description>Hello, 
&lt;BR /&gt;I'm back! 
&lt;BR /&gt;Unfortunately the problem is also back. 
&lt;BR /&gt;I've put 3 scrrenshot cooresponding to the 3 jobs 
&lt;BR /&gt;The first job I run is 
&lt;B&gt;j8-2&lt;/B&gt;. 
&lt;BR /&gt;This job begins with a tFileList which browse the source folder containing the files to be processed (*.ofx). 
&lt;BR /&gt;Each file is then processed by a tJava which generates an xml file from the ofx file in the source folder. 
&lt;BR /&gt;The generated xml file is then processed by a tFileInputXML/tMap/tPostgresqlOutput to feed a Postgres table. 
&lt;BR /&gt;When launch standalone, this job runs fine. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;The second job I run is 
&lt;B&gt;j8-4&lt;/B&gt;. 
&lt;BR /&gt;This job begins with a tFileList which browse the source folder containing the files to be processed (*.ofx). 
&lt;BR /&gt;The following tFileDelete delete the xml file corresponding to the ofx one. 
&lt;BR /&gt;Then the tFileCopy copies the ofx file from the source fomder to an archive folder. The "Delete source file" option is set. 
&lt;BR /&gt;When launch standalone, this job runs fine (ofx files are moved from source folder to archive folder, xml files deleted from source folder). 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;The third job 
&lt;B&gt;j8_1&lt;/B&gt; is used to chains the 
&lt;B&gt;j8_2&lt;/B&gt; and 
&lt;B&gt;j8_4&lt;/B&gt; with 3 files (in my current test) in the source folder. 
&lt;BR /&gt;When running this job, subjob j8_2 works fine but after job j8_2 ends, the 3 xml files are deleted, the 3 ofx files are copied but 2 of the 3 ofx files are not deleted from source folder. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;I added tJava components to trace files being processed. 
&lt;BR /&gt;The message "Traitement : &amp;lt;filename&amp;gt;.ofx ... Terminé" is generated by tJava_1 in j8_2 
&lt;BR /&gt;The message "Suppression : &amp;lt;path&amp;gt;" is generated by tJava_2 in j8_4 
&lt;BR /&gt; 
&lt;PRE&gt;     System.out.println("Suppression : " + ((String)globalMap.get("tFileDelete_2_DELETE_PATH")));&lt;/PRE&gt; 
&lt;BR /&gt;The message "Copie + Suppression : &amp;lt;filename&amp;gt;.ofx" is generated by tJava_1 in j8_4 
&lt;BR /&gt; 
&lt;PRE&gt;     System.out.println("Copie + Suppression : " + ((String)globalMap.get("tFileCopy_1_DESTINATION_FILEPATH")));&lt;/PRE&gt; 
&lt;BR /&gt;The message "ERREUR Copie + Suppression : &amp;lt;error message&amp;gt;.ofx" could be generated tJava_3 in j8_4 
&lt;BR /&gt; 
&lt;PRE&gt;     System.out.println("ERREUR Copie + Suppression : " + ((String)globalMap.get("tFileCopy_1_ERROR_MESSAGE")));&lt;/PRE&gt; 
&lt;BR /&gt;The message</description>
      <pubDate>Wed, 03 Feb 2010 08:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325564#M95152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-03T08:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325565#M95153</link>
      <description>Hello,&lt;BR /&gt;I have done new tests.&lt;BR /&gt;I have used a script to open and lock one of the ofx files in the source folder while job j8-4 is running. The tFileCopy does'nt detect this condition: the file is copied from source folder to destination folder but is not deleted from source folder and &lt;B&gt;no error message&lt;/B&gt; is displayed on the console.&lt;BR /&gt;Any idea?&lt;BR /&gt;Thanks.&lt;BR /&gt;OS : WinXP sp3&lt;BR /&gt;JRE 1.6&lt;BR /&gt;Talend 3.2</description>
      <pubDate>Sat, 06 Feb 2010 10:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325565#M95153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-06T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325566#M95154</link>
      <description>Reminder!</description>
      <pubDate>Mon, 15 Feb 2010 09:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325566#M95154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-15T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325567#M95155</link>
      <description>See &lt;A href="http://www.talendforge.org/bugs/view.php?id=7383" target="_blank" rel="nofollow noopener noreferrer"&gt;bug 7383&lt;/A&gt;.</description>
      <pubDate>Wed, 10 Mar 2010 05:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325567#M95155</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-03-10T05:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325568#M95156</link>
      <description>Problem :
&lt;BR /&gt;I'm having a directory with multiple files (name pattern is same). Now I need to read the file content and if the file content is having "TEST1" then move the file to test1 output directory and if the file content is having "TEST2" then move to test2 output directory and finally if file is not matching with any of the above contents we need to place in default output directory. 
&lt;BR /&gt;Can you tell me the route for implementing the above 
&lt;BR /&gt;I used tFileList --&amp;gt; On sub Ok --&amp;gt; tFileInputFullRow --&amp;gt; ????
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;Kalyan M</description>
      <pubDate>Mon, 22 Apr 2013 13:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325568#M95156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-22T13:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy and Chaining jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325569#M95157</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Problem :&lt;BR /&gt;I'm having a directory with multiple files (name pattern is same). Now I need to read the file content and if the file content is having "TEST1" then move the file to test1 output directory and if the file content is having "TEST2" then move to test2 output directory and finally if file is not matching with any of the above contents we need to place in default output directory. &lt;BR /&gt;Can you tell me the route for implementing the above &lt;BR /&gt;I used tFileList --&amp;gt; On sub Ok --&amp;gt; tFileInputFullRow --&amp;gt; ????&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Kalyan M&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 22 Apr 2013 13:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-and-Chaining-jobs/m-p/2325569#M95157</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-04-22T13:35:17Z</dc:date>
    </item>
  </channel>
</rss>

