<?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: Can't Work tMemorizeRows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358239#M123310</link>
    <description>Hi , 
&lt;BR /&gt;The array out of bound error occurs when the row count in tmemorizerows is set to 1 or 0 ,Please check whether the row count to memorize rows is set to 2&amp;nbsp; 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;s.kasthuri rengan</description>
    <pubDate>Thu, 23 Mar 2017 06:45:01 GMT</pubDate>
    <dc:creator>krengan21</dc:creator>
    <dc:date>2017-03-23T06:45:01Z</dc:date>
    <item>
      <title>Can't Work tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358237#M123308</link>
      <description>Talend Integration Studio 4.2.2.r63143 
&lt;BR /&gt;I am trying to use the tMemorizeRows component but can't get it to work. 
&lt;BR /&gt;I put the tmemorizerows component on the main row from my input. The main row for tMemorizeRows links to my tmap. 
&lt;BR /&gt;I've set tMemorizeRows to memorise one variable called dmu and 1 row. 
&lt;BR /&gt;I want to be able to use the memorized variable in an expression for a variable in the tmap. But I can't seem to call the memorized variable. 
&lt;BR /&gt;I have tried the following 
&lt;BR /&gt;********************* 
&lt;BR /&gt;When I hit ctrl-space only ((String)globalMap.get("tMemorizeRows_1_ERROR_MESSAGE")) and ((Integer)globalMap.get("tMemorizeRows_1_NB_LINE_ROWS")) appear as options. 
&lt;BR /&gt;I don't see an option to use the variable that tMemorize should have remembered. 
&lt;BR /&gt;The variable name is dmu and it is a string. I also tried: 
&lt;BR /&gt; dmu_tMemorizeRows_1 to retrieve the value of the field dmu in the previous row as advised in the bug track describing the creation of the component. 
&lt;BR /&gt;Though the tmap is in the same subjob I also tried the usage below but no joy: 
&lt;BR /&gt; 
&lt;BR /&gt;((Integer[])globalMap.get("tMemorizeRows_1_dmu")) 
&lt;BR /&gt;and tried: 
&lt;BR /&gt;((String[])globalMap.get("tMemorizeRows_1_dmu")) 
&lt;BR /&gt; 
&lt;BR /&gt;I get an array out of bounds error here. 
&lt;BR /&gt;Should I be geting an option to choose my variable when I click ctrl-space in the expression editor in tmap? Or if I need to type it in manually, what syntax should I use? Or is there some problem with my job setup? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;John. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;In a different subjob, the value can be retrieve with : globalMap.get(_). 
&lt;BR /&gt;example : ((Integer[])globalMap.get("tMemorizeRows_1_ID")).</description>
      <pubDate>Sat, 16 Nov 2024 12:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358237#M123308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Work tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358238#M123309</link>
      <description>Oh actually dmu_tMemorizeRows_1 works fine. I just needed to set number of rows to 2 for it to hold current and previous rows in memory!</description>
      <pubDate>Fri, 23 Sep 2011 13:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358238#M123309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-23T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Work tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358239#M123310</link>
      <description>Hi , 
&lt;BR /&gt;The array out of bound error occurs when the row count in tmemorizerows is set to 1 or 0 ,Please check whether the row count to memorize rows is set to 2&amp;nbsp; 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;s.kasthuri rengan</description>
      <pubDate>Thu, 23 Mar 2017 06:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-Work-tMemorizeRows/m-p/2358239#M123310</guid>
      <dc:creator>krengan21</dc:creator>
      <dc:date>2017-03-23T06:45:01Z</dc:date>
    </item>
  </channel>
</rss>

