<?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: Using jobname in the job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222689#M16191</link>
    <description>Hi Vishhu, 
&lt;BR /&gt;If you already defined a context variable with the name 'jobName' in your parent job and child jobs then you can simply pass the same parameter in tRunJob component. 
&lt;BR /&gt;Please not that it is not necessary to have the same variable name in both the jobs such as parent and child.Define your own context variable like below and configure accordingly in tRunJob component. 
&lt;BR /&gt;Define context&amp;nbsp; : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;configuration in tRunJob component : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;Please see the difference in context variable names in parent and child jobs. 
&lt;BR /&gt;In parent job : jobName 
&lt;BR /&gt;In child job : job_name 
&lt;BR /&gt;If you want to transmit all the context variables from parent to child job then use the 'Transmit whole context' option, so that you don't need to define them all in the parameters section. 
&lt;BR /&gt;Hope that helps.</description>
    <pubDate>Tue, 24 Feb 2015 12:08:06 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-02-24T12:08:06Z</dc:date>
    <item>
      <title>Using jobname in the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222686#M16188</link>
      <description>Hi,
&lt;BR /&gt;I am using the following expression in tmap - 
&lt;BR /&gt;(String)globalMap.get("jobName") 
&lt;BR /&gt;to tlogrow, but this is coming as null. I want to capture the jobname and write it to a table along with other fields.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Vishu</description>
      <pubDate>Sun, 22 Feb 2015 21:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222686#M16188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-22T21:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using jobname in the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222687#M16189</link>
      <description>Hi Vishal, 
&lt;BR /&gt;Try using just the keyword in the Expression Builder. 
&lt;BR /&gt;This should help you. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;MathurM</description>
      <pubDate>Mon, 23 Feb 2015 08:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222687#M16189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-23T08:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using jobname in the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222688#M16190</link>
      <description>Thanks! MathurM&lt;BR /&gt;Can you help me with another question? I need to pass the jobName from parent job to child job.&lt;BR /&gt;Thanks,&lt;BR /&gt;Vishhu</description>
      <pubDate>Mon, 23 Feb 2015 17:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222688#M16190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-23T17:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using jobname in the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222689#M16191</link>
      <description>Hi Vishhu, 
&lt;BR /&gt;If you already defined a context variable with the name 'jobName' in your parent job and child jobs then you can simply pass the same parameter in tRunJob component. 
&lt;BR /&gt;Please not that it is not necessary to have the same variable name in both the jobs such as parent and child.Define your own context variable like below and configure accordingly in tRunJob component. 
&lt;BR /&gt;Define context&amp;nbsp; : 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;configuration in tRunJob component : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;BR /&gt;Please see the difference in context variable names in parent and child jobs. 
&lt;BR /&gt;In parent job : jobName 
&lt;BR /&gt;In child job : job_name 
&lt;BR /&gt;If you want to transmit all the context variables from parent to child job then use the 'Transmit whole context' option, so that you don't need to define them all in the parameters section. 
&lt;BR /&gt;Hope that helps.</description>
      <pubDate>Tue, 24 Feb 2015 12:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-jobname-in-the-job/m-p/2222689#M16191</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-02-24T12:08:06Z</dc:date>
    </item>
  </channel>
</rss>

