<?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: How to pass the output value from tjava to excel file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359573#M124331</link>
    <description>&lt;P&gt;Hi Dharmesh,&lt;/P&gt;&lt;P&gt;If you have not resolve the &lt;SPAN&gt;error :&amp;nbsp;&amp;nbsp;lastDec cannot be resolved to a variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In tJavaRow, you have used 'lastDec&amp;nbsp;=' as variable name. and you are trying to use it using 'lastDec'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please use 'lastDec' and 'lastQ3' in your globalMap.put.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And you same in the globalMap.get.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 08:55:23 GMT</pubDate>
    <dc:creator>Vishu1</dc:creator>
    <dc:date>2018-06-04T08:55:23Z</dc:date>
    <item>
      <title>How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359568#M124326</link>
      <description>&lt;P&gt;tjava code:&lt;/P&gt;
&lt;P&gt;Date lastDec =TalendDate.parseDate("yyyy-MM-dd", TalendDate.getDate("yyyy-MM-dd"));&lt;BR /&gt;System.out.println("param1: "+TalendDate.TO_CHAR(lastDec, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;Date prevYear = TalendDate.ADD_TO_DATE(lastDec, "MM", -3);&lt;BR /&gt;System.out.println("param2: "+TalendDate.TO_CHAR(prevYear, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;Date prevYear1 = TalendDate.ADD_TO_DATE(lastDec, "YYYY", -1);&lt;BR /&gt;System.out.println("param3: "+TalendDate.TO_CHAR(prevYear1, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;Date Year1 = TalendDate.ADD_TO_DATE(lastDec, "YYYY", -1);&lt;BR /&gt;System.out.println("param4: "+TalendDate.TO_CHAR(Year1, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;Date Year2 = TalendDate.ADD_TO_DATE(Year1, "YYYY", +1);&lt;BR /&gt;System.out.println("param5: "+TalendDate.TO_CHAR(Year2, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;Date Year3 = TalendDate.ADD_TO_DATE(Year2, "YYYY", +1);&lt;BR /&gt;System.out.println("param6: "+TalendDate.TO_CHAR(Year3, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;Date Year4 = TalendDate.ADD_TO_DATE(Year3, "YYYY", +1);&lt;BR /&gt;System.out.println("param7: "+TalendDate.TO_CHAR(Year4, "MMM-yy"));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OUTPUT:&lt;/P&gt;
&lt;P&gt;param1: Jun-18&lt;BR /&gt;param2: Mar-18&lt;BR /&gt;param3: Jun-17&lt;BR /&gt;param4: Jun-17&lt;BR /&gt;param5: Jun-18&lt;BR /&gt;param6: Jun-19&lt;BR /&gt;param7: Jun-20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quaetions&lt;/P&gt;
&lt;P&gt;1. how to pass this output values to excel file.&lt;/P&gt;
&lt;P&gt;2. How to pas this output values as context variable to another component&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 08:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359568#M124326</guid>
      <dc:creator>Darmesh</dc:creator>
      <dc:date>2018-06-01T08:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359569#M124327</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMabAAG"&gt;@Darmesh&lt;/A&gt;,1) from tjava,you cannnot pass the output to excel file.&lt;/P&gt; 
&lt;P&gt;if you want to know more about tjava,please find the below link.&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/sSh_6LAVLHtLJc5jL6e21Q" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/sSh_6LAVLHtLJc5jL6e21Q&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2) in tJava,you can put the values into global and get using below global functions.&lt;/P&gt; 
&lt;P&gt;globalMap.put("application", "Web");&lt;/P&gt; 
&lt;P&gt;(String)globalMap.get("&lt;SPAN&gt;application&lt;/SPAN&gt;")&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 11:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359569#M124327</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-06-01T11:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359570#M124328</link>
      <description>&lt;P&gt;Hi Manohar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my requirement is, i want to pass the output values of tjava to the sql query.&lt;/P&gt;
&lt;P&gt;sel * from tablename where &amp;lt;output from tjava&amp;gt;;&lt;/P&gt;
&lt;P&gt;can you tell me with help of components and step by step to perform.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359570#M124328</guid>
      <dc:creator>Darmesh</dc:creator>
      <dc:date>2018-06-01T12:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359571#M124329</link>
      <description>&lt;P&gt;You can use the globalMap for this. To add a value you would use this code (using your code for param7 as an example)...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;globalMap.put("param7", TalendDate.TO_CHAR(Year4, "MMM-yy"));&lt;/PRE&gt;
&lt;P&gt;To retrieve this in the WHERE clause you can use the following....&lt;/P&gt;
&lt;PRE&gt;"Select
myColumns
From myTable
WHERE param7 = '" + ((String)globalMap.get("param7"))+"'"&lt;/PRE&gt;
&lt;P&gt;The above code is meant as an example, I am assuming you understand how to structure SQL queries in Talend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 13:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359571#M124329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-01T13:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359572#M124330</link>
      <description>&lt;P&gt;still i am not getting the result.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;kindly correct me with steps.&lt;/P&gt; 
&lt;P&gt;error :&amp;nbsp;&amp;nbsp;lastDec cannot be resolved to a variable&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="a.PNG" style="width: 795px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lypx.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148863i48FB2D8F237D416D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lypx.png" alt="0683p000009Lypx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b.PNG" style="width: 966px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyEA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141783iF0B47E31D096A458/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyEA.png" alt="0683p000009LyEA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 07:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359572#M124330</guid>
      <dc:creator>Darmesh</dc:creator>
      <dc:date>2018-06-04T07:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359573#M124331</link>
      <description>&lt;P&gt;Hi Dharmesh,&lt;/P&gt;&lt;P&gt;If you have not resolve the &lt;SPAN&gt;error :&amp;nbsp;&amp;nbsp;lastDec cannot be resolved to a variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In tJavaRow, you have used 'lastDec&amp;nbsp;=' as variable name. and you are trying to use it using 'lastDec'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please use 'lastDec' and 'lastQ3' in your globalMap.put.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And you same in the globalMap.get.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359573#M124331</guid>
      <dc:creator>Vishu1</dc:creator>
      <dc:date>2018-06-04T08:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359574#M124332</link>
      <description>&lt;P&gt;Your problems are these....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) You are using a tJavaRow and not a tJava. A tJavaRow is for Java used with data coming from a row. It looks like your data is essentially derived from the current date.&lt;/P&gt;
&lt;P&gt;2) Your globalMap variables are configured incorrectly. By the way it is quite difficult to correct code from screen shots. If you include your code I could have tidied it up for you. But essentially your names are not correct. The names (in quotes) need to be EXACTLY the same when you are getting and putting data there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) When setting the second globalMap, you are getting the error lastDec cannot be resolved. This variable does not exist as a Date. I assume you are wanting to compute a date from the date you computed in your first bit of code. An easier way of doing this is to not group all of your code together as you have done and do it in steps. First create a Date from TalendDate.getCurrentDate(). Then manipulate it to get the lastDec date and set that as a Date variable called lastDec. Then convert that to a String and store in the globalMap. After you have done that, you can use the lastDec date to prepare your next variable.&lt;/P&gt;
&lt;P&gt;4) When using your globalMaps in your query you seem to be looking for values with keys ...."test_log.lastDec" and "test_log.lastQ3". These do not exist.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359574#M124332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-04T09:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359575#M124333</link>
      <description>&lt;P&gt;can you tell me how to pass the below code to globalmap.put&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date lastDec =TalendDate.parseDate("yyyy-MM-dd", TalendDate.getDate("yyyy-MM-dd"));&lt;BR /&gt;System.out.println("param1: "+TalendDate.TO_CHAR(lastDec, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date prevYear1 = TalendDate.ADD_TO_DATE(lastDec, "YYYY", -1);&lt;BR /&gt;System.out.println("param3: "+TalendDate.TO_CHAR(prevYear1, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date prevYear = TalendDate.ADD_TO_DATE(lastDec, "MM", -3);&lt;BR /&gt;System.out.println("param2: "+TalendDate.TO_CHAR(prevYear, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date Year2 = TalendDate.ADD_TO_DATE(TalendDate.setDate(TalendDate.getCurrentDate(), 03, "MM"), "YYYY", 0);&lt;BR /&gt;System.out.println("para5: "+TalendDate.TO_CHAR(Year2, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date Year1 = TalendDate.ADD_TO_DATE(Year2, "YYYY", -1);&lt;BR /&gt;System.out.println("param4: "+TalendDate.TO_CHAR(Year1, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date Year3 = TalendDate.ADD_TO_DATE(Year2, "YYYY", +1);&lt;/P&gt; 
&lt;P&gt;System.out.println("param6: "+TalendDate.TO_CHAR(Year3, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Date Year4 = TalendDate.ADD_TO_DATE(Year3, "YYYY", +1);&lt;BR /&gt;System.out.println("param7: "+TalendDate.TO_CHAR(Year4, "MMM-yy"));&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;example like this&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a.PNG" style="width: 842px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyWX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157993iF43F1764283E8753/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyWX.png" alt="0683p000009LyWX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="b.PNG" style="width: 773px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyDl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139003iB81B0F41C90E9242/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyDl.png" alt="0683p000009LyDl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 10:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359575#M124333</guid>
      <dc:creator>Darmesh</dc:creator>
      <dc:date>2018-06-05T10:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359576#M124334</link>
      <description>&lt;P&gt;Do those date values get stored in your database as Strings or as Dates? It looks like you are going about this in a very complicated way requiring far too much unnecessary Java. This could all be done with the following flow which would remove the need for a lot of the Java....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1) tFixedFlowInput with a Date column and any other columns you may need (with "Use Inline Table" ticked). Create a "row" for every different "param" you want to supply your database. Add the code for each "param" in each row of the tFixedFlowInput.&lt;/P&gt; 
&lt;P&gt;2) Then map that to a tMySQLOutput (or via a tMap to the tMySQLOutput).&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This way you do not need to write your insert statements and you do not need to use the globalMap.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 10:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359576#M124334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T10:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359577#M124335</link>
      <description>&lt;P&gt;can you show with an example, how to do it&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 11:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359577#M124335</guid>
      <dc:creator>Darmesh</dc:creator>
      <dc:date>2018-06-05T11:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359578#M124336</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;In my case i can print global variable value on console, but i want to print this value into my tOutputExcel component. example: current_file_name&lt;/P&gt;&lt;P&gt;How to do it?&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 06:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359578#M124336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T06:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359579#M124337</link>
      <description>&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;In my case i can print global variable value on console, but i want to print this value into my tOutputExcel component. example: current_file_name&lt;/P&gt;&lt;P&gt;How to do it?&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 06:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359579#M124337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T06:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359580#M124338</link>
      <description>&lt;P&gt;Do you want to set the file name? If so, the value needs to be calculated and set in your globalMap in a subjob before the subjob where your Excel component is written to. You can then use the globalMap value to set the file name.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359580#M124338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T09:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359581#M124339</link>
      <description>&lt;P&gt;Thanks for reply...&lt;BR /&gt;I got the file name using following code&lt;BR /&gt;&lt;STRONG&gt;String fileName = ((String)globalMap.get("tFileList_3_CURRENT_FILE"));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;context.file_name = fileName;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;System.out.println(fileName);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but in output it shows as null value&lt;/P&gt;
&lt;P&gt;[statistics] connecting to socket on port 3477&lt;BR /&gt;[statistics] connected&lt;BR /&gt;we_100_BA10213307.xml&lt;BR /&gt;.-----------------+----------+-------------+-----------------.&lt;BR /&gt;| tLogRow_2 |&lt;BR /&gt;|=----------------+----------+-------------+----------------=|&lt;BR /&gt;|date_specialValue|date_date |date_timeZone|current_file_name|&lt;BR /&gt;|=----------------+----------+-------------+----------------=|&lt;BR /&gt;|NONE |2018-07-30|CET |null |&lt;BR /&gt;|NONE |2018-07-30|CET |null |&lt;BR /&gt;|NONE |2018-07-30|CET |null |&lt;BR /&gt;'-----------------+----------+-------------+-----------------'&lt;/P&gt;
&lt;P&gt;we_100_BA10213308.xml&lt;BR /&gt;.-----------------+----------+-------------+-----------------.&lt;BR /&gt;| tLogRow_2 |&lt;BR /&gt;|=----------------+----------+-------------+----------------=|&lt;BR /&gt;|date_specialValue|date_date |date_timeZone|current_file_name|&lt;BR /&gt;|=----------------+----------+-------------+----------------=|&lt;BR /&gt;|NONE |2018-07-30|CET |null |&lt;BR /&gt;|NONE |2018-07-30|CET |null |&lt;BR /&gt;|NONE |2018-07-30|CET |null |&lt;BR /&gt;'-----------------+----------+-------------+-----------------'&lt;/P&gt;
&lt;P&gt;WE_100_BA10213313.xml&lt;BR /&gt;.-----------------+----------+-------------+-----------------.&lt;BR /&gt;| tLogRow_2 |&lt;BR /&gt;|=----------------+----------+-------------+----------------=|&lt;BR /&gt;|date_specialValue|date_date |date_timeZone|current_file_name|&lt;BR /&gt;|=----------------+----------+-------------+----------------=|&lt;BR /&gt;|NONE |2018-07-31|CET |null |&lt;BR /&gt;|NONE |2018-07-31|CET |null |&lt;BR /&gt;|NONE |2018-07-31|CET |null |&lt;BR /&gt;'-----------------+----------+-------------+-----------------'&lt;/P&gt;
&lt;P&gt;[statistics] disconnected&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why it will shown null value???&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 10:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359581#M124339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T10:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359582#M124340</link>
      <description>&lt;P&gt;The filename can be seen in the output, but not in the table data. You will need to show me a screenshot of your job.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 10:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359582#M124340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T10:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359583#M124341</link>
      <description>&lt;P&gt;Yes. You are right. need to display file name in the table data.&lt;/P&gt;&lt;P&gt;Please find the attached screenshot of my job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LvB9"&gt;talend_job.png&lt;/A&gt;</description>
      <pubDate>Fri, 29 Mar 2019 10:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359583#M124341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T10:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359584#M124342</link>
      <description>&lt;P&gt;You need to add a tMap between your file component and the tLogRow. Add the context variable to the output of that tMap&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 15:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359584#M124342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-29T15:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359585#M124343</link>
      <description>&lt;P&gt;Thank You Sir It's Working..... &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;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 14:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359585#M124343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-02T14:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass the output value from tjava to excel file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359586#M124344</link>
      <description>&lt;P&gt;Not a problem. Glad to help. Can I ask that if a post provides a solution to a problem, that you accept the solution. There is a button under the post that you think provides the solution. This helps our other users easily find solutions to their problems &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 12:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-the-output-value-from-tjava-to-excel-file/m-p/2359586#M124344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-04T12:47:10Z</dc:date>
    </item>
  </channel>
</rss>

