<?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 Passing context variable from unix shell to Parent Job and then passing it to child job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Passing-context-variable-from-unix-shell-to-Parent-Job-and-then/m-p/2308192#M144248</link>
    <description>&lt;P&gt;I have a requirement. I am trying to pass a context variable defined in Talend(name=nomeFile, value=context.nome_file) from unix to myParent Job and then I want to pass it between my jobs. In this case the variable must be read from mainALF and passed to subLoad_Alf. I developed both ParentJob and ChildJob and after that I build myParentJob. At this point from unix terminal I wrote the following command:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;./myParentJob.sh --context_param nomeFile="myDirectory/FileName.txt" and I does not work. I got "No such file or directory".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On the contrary, If I build myChildJob(subLoad_Alf) and I run the same command: ./myChildJob.sh --context_param nomeFile="myDirectory/FileName.txt" it works.&lt;/P&gt; 
&lt;P&gt;I think I am not able to read the context variable (nomeFile) in the ParentJob and send its value ("myDirectory/FileName.txt") to myChildJob.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;DIV class="post-text"&gt; 
 &lt;P&gt;Does anyone can help me to figure out how to achieve this requirement? Thank you in advance&lt;/P&gt; 
&lt;/DIV&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:53:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:53:53Z</dc:date>
    <item>
      <title>Passing context variable from unix shell to Parent Job and then passing it to child job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-context-variable-from-unix-shell-to-Parent-Job-and-then/m-p/2308192#M144248</link>
      <description>&lt;P&gt;I have a requirement. I am trying to pass a context variable defined in Talend(name=nomeFile, value=context.nome_file) from unix to myParent Job and then I want to pass it between my jobs. In this case the variable must be read from mainALF and passed to subLoad_Alf. I developed both ParentJob and ChildJob and after that I build myParentJob. At this point from unix terminal I wrote the following command:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;./myParentJob.sh --context_param nomeFile="myDirectory/FileName.txt" and I does not work. I got "No such file or directory".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On the contrary, If I build myChildJob(subLoad_Alf) and I run the same command: ./myChildJob.sh --context_param nomeFile="myDirectory/FileName.txt" it works.&lt;/P&gt; 
&lt;P&gt;I think I am not able to read the context variable (nomeFile) in the ParentJob and send its value ("myDirectory/FileName.txt") to myChildJob.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;DIV class="post-text"&gt; 
 &lt;P&gt;Does anyone can help me to figure out how to achieve this requirement? Thank you in advance&lt;/P&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-context-variable-from-unix-shell-to-Parent-Job-and-then/m-p/2308192#M144248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Passing context variable from unix shell to Parent Job and then passing it to child job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-context-variable-from-unix-shell-to-Parent-Job-and-then/m-p/2308193#M144249</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your command seems to be right.&lt;/P&gt;
&lt;P&gt;Did you try to execute the master job in your studio,&amp;nbsp;moving the filepath context ? Does it works ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aurélien.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-context-variable-from-unix-shell-to-Parent-Job-and-then/m-p/2308193#M144249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T16:24:07Z</dc:date>
    </item>
  </channel>
</rss>

