<?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: [resolved] ((Integer)globalMap.get(&amp;quot;tMSSqlOutput_2_NB_LINE_INSERTED&amp;quot;)) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214275#M11192</link>
    <description>Hi 
&lt;BR /&gt;The variable have to be used in the next subjob rather than child job, so change the job as seen below, you should be able to get the value of the global variable. 
&lt;BR /&gt;For example: 
&lt;BR /&gt;tFileFetch 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;your main processing---tMssqlOutput_1 
&lt;BR /&gt;&amp;nbsp; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;tFixedFlowInput--main--tLogRow 
&lt;BR /&gt;on tFixedFlowInput, you get the number of lines which has been updated/inserted/deleted on tMssqlOutput, to do it: define one column called it nb_inserted, and set its values as: 
&lt;BR /&gt;((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE_INSERTED")) 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Fri, 30 Oct 2015 07:12:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-30T07:12:49Z</dc:date>
    <item>
      <title>[resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214268#M11185</link>
      <description>After an insert in a table in a SQLServer Database, I want to display the number of records inserted
&lt;BR /&gt;So I use the global variable ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED")) 
&lt;BR /&gt;and I get Null as result.
&lt;BR /&gt;I have check in the table the row is inserted!
&lt;BR /&gt;Where is my misstake?
&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 23 Oct 2015 15:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214268#M11185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T15:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214269#M11186</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;Can you please upload a screenshot of job? I think there might be a job design issue here.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 23 Oct 2015 15:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214269#M11186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T15:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214270#M11187</link>
      <description>Below the screenshot of the job: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA18.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148558iD4C406B02CA5E228/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA18.png" alt="0683p000009MA18.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE_UPDATED"))&amp;nbsp; are in the tMap_3 et tMap_4 components</description>
      <pubDate>Sun, 25 Oct 2015 19:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214270#M11187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-25T19:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214271#M11188</link>
      <description>No idea????? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 26 Oct 2015 17:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214271#M11188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-26T17:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214272#M11189</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;It is not a bug, this kind of global variable should be used in next subjob, if you look into the generated code of job, you will see the the code&amp;nbsp; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE_UPDATED")) on tMap_3 is executed before putting value to the global variable in the end part of tMssqlOutput, so you need to change the job design, eg:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;....tMSSQLOutput--tHashOutput&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;onsubjobok&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp; &amp;nbsp;|&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tHashInput--main--tMap_3....&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 27 Oct 2015 04:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214272#M11189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T04:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214273#M11190</link>
      <description>now I have the following main job: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBgv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154125iF6067BBEDD64CDB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBgv.png" alt="0683p000009MBgv.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;and 2 subjobs : 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC3Y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133746i7B0A25FD24B35F39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC3Y.png" alt="0683p000009MC3Y.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC3Y.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133746i7B0A25FD24B35F39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC3Y.png" alt="0683p000009MC3Y.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;but I don't see the number of rows inserted or updated!! 
&lt;BR /&gt; 
&lt;BR /&gt;Another ideas?? 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 27 Oct 2015 20:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214273#M11190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T20:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214274#M11191</link>
      <description>Now I have the fillowing job: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC3d.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133110i38FD307CB6E82AA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC3d.png" alt="0683p000009MC3d.png" /&gt;&lt;/span&gt;the subjob: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBnb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157616iE32477D0AC8E0428/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBnb.png" alt="0683p000009MBnb.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;But I have many error in the subjob: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC3i.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149681i6F7A13FAB8246883/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC3i.png" alt="0683p000009MC3i.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Any ideas?? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Didier</description>
      <pubDate>Wed, 28 Oct 2015 13:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214274#M11191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T13:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214275#M11192</link>
      <description>Hi 
&lt;BR /&gt;The variable have to be used in the next subjob rather than child job, so change the job as seen below, you should be able to get the value of the global variable. 
&lt;BR /&gt;For example: 
&lt;BR /&gt;tFileFetch 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;your main processing---tMssqlOutput_1 
&lt;BR /&gt;&amp;nbsp; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| 
&lt;BR /&gt;tFixedFlowInput--main--tLogRow 
&lt;BR /&gt;on tFixedFlowInput, you get the number of lines which has been updated/inserted/deleted on tMssqlOutput, to do it: define one column called it nb_inserted, and set its values as: 
&lt;BR /&gt;((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE_INSERTED")) 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 30 Oct 2015 07:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214275#M11192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-30T07:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] ((Integer)globalMap.get("tMSSqlOutput_2_NB_LINE_INSERTED"))</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214276#M11193</link>
      <description>Thanks Shong 
&lt;BR /&gt;easier and it works! 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC3n.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127938i0EF365D4BE5A97EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC3n.png" alt="0683p000009MC3n.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 30 Oct 2015 08:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Integer-globalMap-get-quot-tMSSqlOutput-2-NB-LINE/m-p/2214276#M11193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-30T08:43:39Z</dc:date>
    </item>
  </channel>
</rss>

