<?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] Pass a value back to a calling app in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258527#M40302</link>
    <description>well, you could always use your exit code... but mixed meaning in variables is usually a bad idea. in my experience, using files for this isnt as bad as it first appears.</description>
    <pubDate>Mon, 06 Jun 2011 15:06:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-06-06T15:06:17Z</dc:date>
    <item>
      <title>[resolved] Pass a value back to a calling app</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258526#M40301</link>
      <description>In exporting a Talend job as an .exe, is there a way that an execution-return value can be passed back to whichever app calls the Talend job (other than writing to a file or DB)?</description>
      <pubDate>Sat, 16 Nov 2024 12:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258526#M40301</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2024-11-16T12:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Pass a value back to a calling app</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258527#M40302</link>
      <description>well, you could always use your exit code... but mixed meaning in variables is usually a bad idea. in my experience, using files for this isnt as bad as it first appears.</description>
      <pubDate>Mon, 06 Jun 2011 15:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258527#M40302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-06T15:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Pass a value back to a calling app</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258528#M40303</link>
      <description>This will be my first attempt at exporting an autonomous job from Talend, let alone running it from another app, so can you please explain a bit more. How do you set the exit code and how is that picked up by the calling app? At this stage I only envisage needing to know that the job completed and whether it was successful or not. 
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 07 Jun 2011 00:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258528#M40303</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-06-07T00:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Pass a value back to a calling app</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258529#M40304</link>
      <description>when you export the job, youll get a zip package with a shell script and batch file inside. when you execute the batch file, the exit code will be set to 1 or 0 or whatever you jam in a tDie&lt;BR /&gt;if you call it with java, its returned by the Runtime.exec() function. If you just execute it from the command prompt, in windows do "echo %errorlevel%" and linux "echo $?"</description>
      <pubDate>Tue, 07 Jun 2011 04:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258529#M40304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-07T04:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Pass a value back to a calling app</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258530#M40305</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;In exporting a Talend job as an .exe, is there a way that an execution-return value can be passed back to whichever app calls the Talend job (other than writing to a file or DB)?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Well you could use the process exit value, but the proper way to handle depends on the calling application (shell ? code ? ... )</description>
      <pubDate>Tue, 07 Jun 2011 16:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258530#M40305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-07T16:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Pass a value back to a calling app</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258531#M40306</link>
      <description>I didn't end up using this but found that if using tSystem to call Talend's exported batch files (a long story as to why that was necessary), the error code from a tDie in the called job will be returned by tSystem's EXIT_VALUE.</description>
      <pubDate>Sun, 10 Jul 2011 13:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Pass-a-value-back-to-a-calling-app/m-p/2258531#M40306</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-07-10T13:10:23Z</dc:date>
    </item>
  </channel>
</rss>

