<?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: Assign Value from tStatLogCatcher to a context variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223910#M16837</link>
    <description>did you success on your task?</description>
    <pubDate>Mon, 01 Oct 2018 08:54:38 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2018-10-01T08:54:38Z</dc:date>
    <item>
      <title>Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223903#M16830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to read some data from tStatLogCatcher like pid, system_pid and assign it to a context variable. My variable is context.pid and it is&amp;nbsp;of&amp;nbsp;String type. I have a job as shown in the picture below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AssignValueCV.png" style="width: 967px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzi8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128818i8DE9C1EF15D9F36D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzi8.png" alt="0683p000009Lzi8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;I run the job, but no value is printed. Am I doing something wrong? Is this a right way to assign value to a context variable?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 10:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223903#M16830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-27T10:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223904#M16831</link>
      <description>&lt;P&gt;context is like function parameter. you may use&amp;nbsp;globalMap.put("pid") globalMap.get("pid")&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 11:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223904#M16831</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-27T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223905#M16832</link>
      <description>&lt;P&gt;Could you give me an example of how to retrieve pid by using "&lt;SPAN&gt;globalMap.put("pid")" and where?. I do not know how to do it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 11:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223905#M16832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-27T11:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223906#M16833</link>
      <description>if tlog did not give you the information you need…&lt;BR /&gt;there is no universal method to get pid…&lt;BR /&gt;why did you need it?</description>
      <pubDate>Thu, 27 Sep 2018 12:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223906#M16833</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-27T12:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223907#M16834</link>
      <description>&lt;P&gt;What I need to do is to store pid in a variable and then use it in a stored procedure. I need pid because I want to store the processID of the current jobSession. So, i want to store it somewhere.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW"&gt;@fdenis&lt;/A&gt;&amp;nbsp;wrote:
 &lt;BR /&gt;if tlog did not give you the information you need…
 &lt;BR /&gt;there is no universal method to get pid…
 &lt;BR /&gt;why did you need it?
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 13:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223907#M16834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-27T13:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223908#M16835</link>
      <description>pid is an os level. if you run a task you can get the pid of the task.&lt;BR /&gt;to get pid from the process you have to ask your parent to guive your pid. how to ask pid depend on parent….</description>
      <pubDate>Thu, 27 Sep 2018 13:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223908#M16835</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-27T13:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223909#M16836</link>
      <description>&lt;BR /&gt;Thanks to @Rall_2_0&lt;BR /&gt;&lt;BR /&gt;If you add a tJava in a simple job with the following code....&lt;BR /&gt;System.out.println(pid);&lt;BR /&gt;System.out.println(fatherPid);&lt;BR /&gt;System.out.println(rootPid);&lt;BR /&gt;&lt;BR /&gt;so you can retieve Pid using "pid" in a tmap output value.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2018 14:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223909#M16836</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-27T14:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223910#M16837</link>
      <description>did you success on your task?</description>
      <pubDate>Mon, 01 Oct 2018 08:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223910#M16837</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-01T08:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223911#M16838</link>
      <description>&lt;P&gt;Yes, I assing in tJava component this value: context.pid = pid. This way I have been able to store pid in my context variable.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2018 09:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223911#M16838</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-01T09:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Value from tStatLogCatcher to a context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223912#M16839</link>
      <description>great!, so can you tag as solved?&lt;BR /&gt;see you next time!</description>
      <pubDate>Mon, 01 Oct 2018 09:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-Value-from-tStatLogCatcher-to-a-context-variable/m-p/2223912#M16839</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-01T09:04:08Z</dc:date>
    </item>
  </channel>
</rss>

