<?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: required a output from tjava in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366297#M129803</link>
    <description>&lt;P&gt;Do you want to store the output in variables or display it on Console?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 12:54:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-05T12:54:28Z</dc:date>
    <item>
      <title>required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366294#M129800</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get the output as below using tjava&lt;/P&gt;&lt;P&gt;sep-18&lt;/P&gt;&lt;P&gt;sep-17&lt;/P&gt;&lt;P&gt;jun-18&lt;/P&gt;&lt;P&gt;mar-17&lt;/P&gt;&lt;P&gt;mar-18&lt;/P&gt;&lt;P&gt;mar-19&lt;/P&gt;&lt;P&gt;mar-20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need all the result only in date format&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366294#M129800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366295#M129801</link>
      <description>What is the input for the same?&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366295#M129801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T12:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366296#M129802</link>
      <description>&lt;P&gt;no input. i have to achieve it with tjava.&lt;/P&gt;&lt;P&gt;for tjava we no need input?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366296#M129802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T12:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366297#M129803</link>
      <description>&lt;P&gt;Do you want to store the output in variables or display it on Console?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366297#M129803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T12:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366298#M129804</link>
      <description>&lt;P&gt;is it possible to store the output in excel file?variable also okay.but my requirement is based on the output. i will pass the output values to sql query as parameter&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366298#M129804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T12:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366299#M129805</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture1.PNG" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyX0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130341i240232A75C6FFF88/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyX0.png" alt="0683p000009LyX0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture2.PNG" style="width: 142px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyO7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130584i9BF7358BBAE0CF10/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyO7.png" alt="0683p000009LyO7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Please try this way ..You have to insert your data in desired format in .csv file&amp;nbsp;and column&amp;nbsp;&lt;SPAN&gt;data&amp;nbsp;&lt;/SPAN&gt;type as &lt;SPAN&gt;string&amp;nbsp;&lt;/SPAN&gt;then pass it to tmap with data type as string then in tjavarow(1 intput column :&lt;SPAN&gt;date_output and 1 output column)&lt;/SPAN&gt;&amp;nbsp; you can enter code like below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;op.date_output will be input column(string)&lt;/SPAN&gt;&lt;BR /&gt;output_row.date_output=TalendDate.parseDateLocale("MMM-yy",op.date_output,"en");&lt;/P&gt; 
&lt;P&gt;where&amp;nbsp;&lt;SPAN&gt;date_output will be of type date&amp;nbsp;"MMM-yy"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;then join it to tLogRow. you will get the output !!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 13:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366299#M129805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T13:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: required a output from tjava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366300#M129806</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i was asking can we print the output in excel. but you have showed in tlogrows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i have already got the desired output in tjava,but i dont know how to pass those values as globalvar or parameter in my sql query.&lt;/P&gt; 
&lt;P&gt;below is the code which i am using, can you help me to solve this issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. 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;2. 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;3. 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;code 1 will take the current month and year.based on lastDec remaining will be calculated.&lt;/P&gt; 
&lt;P&gt;so now i want to know&amp;nbsp;&lt;SPAN&gt;how to pass those values from tjava as globalvar or parameter in my sql query&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 07:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/required-a-output-from-tjava/m-p/2366300#M129806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T07:46:28Z</dc:date>
    </item>
  </channel>
</rss>

