<?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: Pass parameters to jobs when executing the .sh script in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196821#M825</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi -&lt;BR /&gt; I want to use the variable in the query field for a tOracleInput component. How do I modify the query to use it?&lt;BR /&gt;SELECT ...&lt;BR /&gt; FROM ...&lt;BR /&gt;WHERE LAST_MOD_DATE &amp;gt; context.TheDate&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I assume LAST_MOD_DATE is some date so you will be including it in query in quotes. You will be appending this context param to your query. Your query will be then 
&lt;BR /&gt; 
&lt;PRE&gt;"&lt;BR /&gt;SELECT ...&lt;BR /&gt;  FROM ...&lt;BR /&gt;WHERE   LAST_MOD_DATE &amp;gt; '" + context.TheDate + "'"&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Apr 2011 11:30:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-04-29T11:30:06Z</dc:date>
    <item>
      <title>Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196817#M821</link>
      <description>Hi -
&lt;BR /&gt; Is is possible to pass a parameter (a date, for example) to a job when it is executed by running the .sh script, or when launched through the Job Conductor in the Admin Center? - using an Oracle database</description>
      <pubDate>Sat, 16 Nov 2024 13:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196817#M821</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196818#M822</link>
      <description>Hi 
&lt;BR /&gt;Edit the .sh script and add the context parameters like: 
&lt;BR /&gt; 
&lt;PRE&gt;cd `dirname $0`&lt;BR /&gt; ROOT_PATH=`pwd`&lt;BR /&gt;java -Xms256M -Xmx1024M -cp classpath.jar: p3.executejob_0_1.ExecuteJob --context=Default --context_param name1=elise --context_param name2=shong $*&lt;/PRE&gt; 
&lt;BR /&gt;On Job Conductor, open the context tab and add the custom value. (see my screenshot) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 18 Feb 2011 08:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196818#M822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-18T08:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196819#M823</link>
      <description>Thanks -</description>
      <pubDate>Tue, 22 Feb 2011 13:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196819#M823</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-22T13:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196820#M824</link>
      <description>Hi -
&lt;BR /&gt; I want to use the variable in the query field for a tOracleInput component. How do I modify the query to use it?
&lt;BR /&gt;SELECT ...
&lt;BR /&gt; FROM ...
&lt;BR /&gt;WHERE LAST_MOD_DATE &amp;gt; context.TheDate</description>
      <pubDate>Tue, 22 Feb 2011 14:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196820#M824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-22T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196821#M825</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi -&lt;BR /&gt; I want to use the variable in the query field for a tOracleInput component. How do I modify the query to use it?&lt;BR /&gt;SELECT ...&lt;BR /&gt; FROM ...&lt;BR /&gt;WHERE LAST_MOD_DATE &amp;gt; context.TheDate&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I assume LAST_MOD_DATE is some date so you will be including it in query in quotes. You will be appending this context param to your query. Your query will be then 
&lt;BR /&gt; 
&lt;PRE&gt;"&lt;BR /&gt;SELECT ...&lt;BR /&gt;  FROM ...&lt;BR /&gt;WHERE   LAST_MOD_DATE &amp;gt; '" + context.TheDate + "'"&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Apr 2011 11:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196821#M825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-29T11:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196822#M826</link>
      <description>&lt;FONT size="2"&gt;&lt;FONT face="Arial, sans-serif"&gt;Hi I need to connect to Sever such as 192.168.137.12 and then login in that server with user name and password.. point to a location and then run a Shell script.. how to proceed with the same in Talend?? Some inputs pls..&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 04 May 2016 08:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196822#M826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T08:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameters to jobs when executing the .sh script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196823#M827</link>
      <description>Take a look at the component tSSH. This may be what you're after.</description>
      <pubDate>Wed, 04 May 2016 08:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameters-to-jobs-when-executing-the-sh-script/m-p/2196823#M827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T08:36:31Z</dc:date>
    </item>
  </channel>
</rss>

