<?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: Delete file after archiving on Windows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197305#M1096</link>
    <description>Hi,&lt;BR /&gt;What's your current OS? Did you use Windows version of the studio in Window OS?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 21 Nov 2014 07:14:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-21T07:14:38Z</dc:date>
    <item>
      <title>Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197298#M1089</link>
      <description>Hi all, 
&lt;BR /&gt;I have a child job that will archive a file then delete that file immediately after it's been archived. Initially I did this using the Mac version of the studio and everything was working but with the same job but different file directory, it doesn't work when using the Windows version of the studio. 
&lt;BR /&gt;If I were to run the child job separately to just archive and delete the file it would work, but when running the parent job that calls the child job, it will only archive the file but not delete it. 
&lt;BR /&gt;Essentially my child job just looks like the screen shot below. I know for sure that the directory I use is correct because I can run the subjob independent of the parent and everything was working. I also know the parent job is also working because I tested this initially when working on the Mac version of the studio. 
&lt;BR /&gt;Is there a reason why when testing this on the Windows version that my job would stop working? Could the file still be locked and is read only after archiving the file and that's why the job can't delete it?&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBdB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141811i19354CA3D9DD1894/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBdB.png" alt="0683p000009MBdB.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 20 Nov 2014 05:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197298#M1089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T05:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197299#M1090</link>
      <description>Hi,&lt;BR /&gt;Which build version are you using? What's the error info when you use this job on window server?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 20 Nov 2014 06:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197299#M1090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T06:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197300#M1091</link>
      <description>When I run the parent job, I set the sub job component to "Propagate the child result to the output schema" but nothing gets log so I'm assuming that means it's not getting executed or there's just no error log. 
&lt;BR /&gt;It's also set to "die on child error" but it still runs afterwards so I would assume that no error occurs. It's just that the file is still there so I can see that the delete does not happen. The archive file has been created so I can at least see that happening and that the child job is being called. 
&lt;BR /&gt;I'm currently running Talend Open studio for Data Integration but I'm not sure about the version. I just see 5.5.1r118616 at the top of the studio if that helps.</description>
      <pubDate>Thu, 20 Nov 2014 07:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197300#M1091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T07:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197301#M1092</link>
      <description>Hi, 
&lt;BR /&gt;How did you set your tfiledelete component? We don't repro your issue on window 7. 
&lt;BR /&gt;Please see my screenshot 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBdG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158300iC721ED3C6D77000B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBdG.png" alt="0683p000009MBdG.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 20 Nov 2014 07:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197301#M1092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T07:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197302#M1093</link>
      <description>I made the exact same changes as your screen shot but it still doesn't work. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/227089/Screen_Shot_2014-11-21_at_9.38.01_AM.png_20141121-0040.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBdL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128268i3B6D7C915876E242/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBdL.png" alt="0683p000009MBdL.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Thu, 20 Nov 2014 23:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197302#M1093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T23:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197303#M1094</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I'm currently running Talend Open studio for Data Integration but I'm not sure about the version. I just see 5.5.1r118616 at the top of the studio if that helps.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Does this issue repro on other build version?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 21 Nov 2014 04:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197303#M1094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T04:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197304#M1095</link>
      <description>I don't actually have any other versions of the Studio. I just know the code you gave in your sceenshot doesn't work in the Mac version of the studio as well.</description>
      <pubDate>Fri, 21 Nov 2014 04:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197304#M1095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T04:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197305#M1096</link>
      <description>Hi,&lt;BR /&gt;What's your current OS? Did you use Windows version of the studio in Window OS?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 21 Nov 2014 07:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197305#M1096</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T07:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197306#M1097</link>
      <description>Hi,&lt;BR /&gt;My current Windows operating system is a Windows 7 64-bit. And yes, I did use the Windows version of Talend Open Studio 64-bit version in Windows.</description>
      <pubDate>Fri, 21 Nov 2014 07:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197306#M1097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T07:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197307#M1098</link>
      <description>Hi,&lt;BR /&gt;Could you please create a new job with: tFileArchive--&amp;gt;tFileDelete for testing only to see if it is OK with you?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 21 Nov 2014 08:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197307#M1098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T08:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197308#M1099</link>
      <description>Sorry, maybe my initial post wasn't clear enough but the job I have running the tFileArchive-&amp;gt;tFileDelete is working fine by itself.
&lt;BR /&gt;If I just run those 2 components by itself, everything is working and the file is being deleted. It's just when I run that job as a child job from another job that the file does not get deleted.&amp;nbsp;
&lt;BR /&gt;The idea behind this is a have a re-usable job that archives and deletes the file after a web service is run. The parent job will pass a file directory depending if it succeeds or fail and the archived file will be stored in different folder directories depending on the passed directory string. All the archiving stuff is working fine. The files are being archived into the correct folder but I need that file to be deleted and it is currently not.&amp;nbsp;</description>
      <pubDate>Fri, 21 Nov 2014 08:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197308#M1099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T08:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197309#M1100</link>
      <description>Hi,&lt;BR /&gt;Could you please show us your whole job design screenshots so that we can see if there is anything wrong with your Parent job?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 21 Nov 2014 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197309#M1100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file after archiving on Windows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197310#M1101</link>
      <description>Hi&amp;nbsp; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;quakev0,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;For your First Post:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Is there a reason why when testing this on the Windows version that my job would stop working? Could the file still be locked and is read only after archiving the file and that's why the job can't delete it?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Option 1: If there is any restriction on file like read only it will throw error like "File is read only unable to delete ". Hope for you such Error is not getting?&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Option 1: As per my understanding you have imported that Job(Item) which was created in MAC environment to Windows? Instead of doing that can you please create a&amp;nbsp;separate Child jon and parent job in windows and check once because i have tried in windows it is working fine. PFA.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/236081/MainJob_20141121-1011.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBSZ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132679iCF01AE32A2D90419/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBSZ.jpg" alt="0683p000009MBSZ.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/236081/ChildJob.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBQI.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152825iFF8E8CF5AC87B39D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBQI.jpg" alt="0683p000009MBQI.jpg" /&gt;&lt;/span&gt;&lt;/A&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Srikanth</description>
      <pubDate>Fri, 21 Nov 2014 09:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Delete-file-after-archiving-on-Windows/m-p/2197310#M1101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T09:12:55Z</dc:date>
    </item>
  </channel>
</rss>

