<?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: Set Variables in tSetGlobalVar in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286727#M60349</link>
    <description>Thanks for your reply.&lt;BR /&gt;I&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;look at a related forum:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#b42000"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;, but, it didn't answer my question.&lt;BR /&gt;I know I can set string and integer global variables in tSetGlobalVar and access these variables with GlobalMap.get():&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;(String)globalMap.get("myKey")&amp;nbsp; &amp;nbsp; //the data type of value is String&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;(Integer)globalMap.get("myKey")&amp;nbsp; &amp;nbsp;//the data type of value is Integer/int&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Can I set long, float or double global variable in tSetGlobalVar or not.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Can I do (Long)GlobalMap.get("MyKey") or not.&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Thu, 20 Nov 2014 13:19:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-20T13:19:13Z</dc:date>
    <item>
      <title>Set Variables in tSetGlobalVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286725#M60347</link>
      <description>How to set a long, float or double variable in tSetGlobalVar?&lt;BR /&gt;How to access a long, float or double variable in tSetGlobalVar by using globalMap.get() or globalMap.put() function?</description>
      <pubDate>Wed, 19 Nov 2014 15:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286725#M60347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-19T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Variables in tSetGlobalVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286726#M60348</link>
      <description>Hi, 
&lt;BR /&gt;Please have a look at a related forum: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCnxVCAS" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Changing-the-value-of-a-variable-set-in-tGlobalVar/td-p/91485&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 20 Nov 2014 02:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286726#M60348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T02:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Variables in tSetGlobalVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286727#M60349</link>
      <description>Thanks for your reply.&lt;BR /&gt;I&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;look at a related forum:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#b42000"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;, but, it didn't answer my question.&lt;BR /&gt;I know I can set string and integer global variables in tSetGlobalVar and access these variables with GlobalMap.get():&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;(String)globalMap.get("myKey")&amp;nbsp; &amp;nbsp; //the data type of value is String&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;(Integer)globalMap.get("myKey")&amp;nbsp; &amp;nbsp;//the data type of value is Integer/int&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Can I set long, float or double global variable in tSetGlobalVar or not.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Can I do (Long)GlobalMap.get("MyKey") or not.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 20 Nov 2014 13:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286727#M60349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T13:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Variables in tSetGlobalVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286728#M60350</link>
      <description>hi,&lt;BR /&gt;globalMap store java Object , so you can store anything as all is object in java.(String, List, Long,etc )&lt;BR /&gt;It's also the reason why you have to cast your value from Object to a java type &amp;amp; be able to use methods &amp;amp; functions from that type.&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Thu, 20 Nov 2014 13:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286728#M60350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T13:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Variables in tSetGlobalVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286729#M60351</link>
      <description>Thanks, Zone.&amp;nbsp;&lt;BR /&gt;In tSetGlobalVar, when I add global variable, I cannot specify the variable type.&lt;BR /&gt;For example, I add a variable as "myVariable", and set the value as 0.00. I assume it is a Long variable. Than, I use (Long)GlobalMap.get("myVariable") to access this variable. I cannot get the value and the process is canceled.</description>
      <pubDate>Thu, 20 Nov 2014 14:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-Variables-in-tSetGlobalVar/m-p/2286729#M60351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T14:00:10Z</dc:date>
    </item>
  </channel>
</rss>

