<?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 How to read java program AS a extract talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334546#M103199</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a java program, per exemple,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;who have the snippet code below&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;{&lt;/P&gt; 
&lt;P&gt;String result = "bill;date;amount&lt;/P&gt; 
&lt;P&gt;A21;201707;20.00&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;A22;201707;27.09";&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;return result;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In Talend, i can copy/paste this "snippet" and make a talend routine.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;But i want to set the routine as a input and read the result like an input.. How ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;For exemple :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Job Talend :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1) My input : Execute the routine and extract result.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2) tLogRow will read 3 rows :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;row 1 : bill;date;amount&lt;/P&gt; 
&lt;P&gt;row 2 : A21;201707;20.00&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;row 3 : A22;201707;27.09&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If routines is not possible, i can make a .jar program, but in same idea, how talend can read it ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks for help&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2017 10:16:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-07T10:16:11Z</dc:date>
    <item>
      <title>How to read java program AS a extract talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334546#M103199</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a java program, per exemple,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;who have the snippet code below&amp;nbsp;:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;{&lt;/P&gt; 
&lt;P&gt;String result = "bill;date;amount&lt;/P&gt; 
&lt;P&gt;A21;201707;20.00&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;A22;201707;27.09";&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;return result;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In Talend, i can copy/paste this "snippet" and make a talend routine.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;But i want to set the routine as a input and read the result like an input.. How ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;For exemple :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Job Talend :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;1) My input : Execute the routine and extract result.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2) tLogRow will read 3 rows :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;row 1 : bill;date;amount&lt;/P&gt; 
&lt;P&gt;row 2 : A21;201707;20.00&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;row 3 : A22;201707;27.09&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If routines is not possible, i can make a .jar program, but in same idea, how talend can read it ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks for help&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 10:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334546#M103199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-07T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to read java program AS a extract talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334547#M103200</link>
      <description>&lt;P&gt;If I understand your requirement you can achieve it by using a tJavaFlex to start your job. In the "Start Code" you would call your third party code and get the result. Then you can split it into rows using the "Main Code" section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A simple example of how you can use a tJavaFlex (not related to this requirement, just an example of the tJavaFlex) can be found here...&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.rilhia.com/quicktips/quick-tip-row-multiplication" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-row-multiplication&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 11:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334547#M103200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-07T11:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to read java program AS a extract talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334548#M103201</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi !&lt;/P&gt; 
&lt;P&gt;You can do it like this :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 681px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lwcm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149593i771EA923EEAC7FFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lwcm.png" alt="0683p000009Lwcm.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;1) In your tRowGenerator, call you routine to store the result in your column. (take care : use a \n to pass a line)&lt;/P&gt; 
&lt;P&gt;2) tNormalize settings : use \n to separate element.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good luck&lt;/P&gt; 
&lt;P&gt;SGV&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 12:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-java-program-AS-a-extract-talend/m-p/2334548#M103201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-07T12:08:34Z</dc:date>
    </item>
  </channel>
</rss>

