<?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: Get sh / bat run arguments through the job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371777#M134679</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am not sure whether I understand your question well, if you are trying to pass new values to context variables when executing the job through the run command line, please try:&lt;/P&gt;&lt;P&gt;&amp;gt;jobName.bat --context=Default --context_param var1=value1--context_param var2=value2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 07:01:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-20T07:01:06Z</dc:date>
    <item>
      <title>Get sh / bat run arguments through the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371776#M134678</link>
      <description>&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if there is a way to get sh / bat arguments through the job.&lt;/P&gt;&lt;P&gt;I know how to use context and properties file to get external variable values, but my question here is specific to sh or bat files through the run command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 01:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371776#M134678</guid>
      <dc:creator>Alpha549</dc:creator>
      <dc:date>2021-10-20T01:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get sh / bat run arguments through the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371777#M134679</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am not sure whether I understand your question well, if you are trying to pass new values to context variables when executing the job through the run command line, please try:&lt;/P&gt;&lt;P&gt;&amp;gt;jobName.bat --context=Default --context_param var1=value1--context_param var2=value2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 07:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371777#M134679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-20T07:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get sh / bat run arguments through the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371778#M134680</link>
      <description>&lt;P&gt;A good method is to use the implicit context load and setup the path to the context properties file with a context variable. This way you can steer which context file the job will read.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;my_job_run.bat --context_param context_file_path=/var/data/config/context-prod.properties&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 14:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-sh-bat-run-arguments-through-the-job/m-p/2371778#M134680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-20T14:01:14Z</dc:date>
    </item>
  </channel>
</rss>

