<?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: No rows return from procedure - Unexpected EOF in prolog in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285241#M58863</link>
    <description>Ed, thank you very much! Please, can you give me a simple example? I am very very new in all this 
&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;</description>
    <pubDate>Tue, 19 Jun 2012 12:35:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-19T12:35:06Z</dc:date>
    <item>
      <title>No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285237#M58859</link>
      <description>&lt;P&gt;Hi everyone again. I am new in Open Studio, so I have many questions &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;BR /&gt;I created web-service, which calling stored procedure in Oracle and returns records set.&lt;BR /&gt;If my procedure returns even 1 row - everything is ok. But when the result is empty - there is a error (in attach).&lt;BR /&gt;What shall I do?&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2012 15:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285237#M58859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285238#M58860</link>
      <description>Please, help me. I can modify a stored procedure, that its return in anyway something, but its a bad decision.</description>
      <pubDate>Thu, 14 Jun 2012 10:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285238#M58860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-14T10:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285239#M58861</link>
      <description>Hi, still no ideas?</description>
      <pubDate>Tue, 19 Jun 2012 06:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285239#M58861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-19T06:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285240#M58862</link>
      <description>Hi Alexandr&lt;BR /&gt;Sorry if this is obvious, but your web service flow needs to return something to the tESBResponse.  Right now the tParseRecordSet is not passing anything to the tXMLmap.  So naturally the tXMLmap throws an error because there is an unexpected eof.  You need to handle the edge condition.&lt;BR /&gt;Ed</description>
      <pubDate>Tue, 19 Jun 2012 11:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285240#M58862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-19T11:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285241#M58863</link>
      <description>Ed, thank you very much! Please, can you give me a simple example? I am very very new in all this 
&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;</description>
      <pubDate>Tue, 19 Jun 2012 12:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285241#M58863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-19T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285242#M58864</link>
      <description>Please, help me 
&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;</description>
      <pubDate>Tue, 26 Jun 2012 06:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285242#M58864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-26T06:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285243#M58865</link>
      <description>Hi Alexander..&lt;BR /&gt;&lt;BR /&gt;if your data flow may return no rows (e.g. they are filtered out), then you could try to use lookups in tmap / txmlmap. That way there is always a row returned, so XML is generated even with empty data&lt;BR /&gt;just next time pay attention - you see the "0 rows" at your flow debug information. If you are implementing web serivices using Talend jobs, you will get a row at the start (tESBRequest) and you need to pass a row (one row) to the tESBResponse or tESBFault on the same subjob.&lt;BR /&gt;lookup exmaples: &lt;BR /&gt; - &lt;A href="http://techblog.appirio.com/2009/12/performing-lookups-and-transformations.html" rel="nofollow noopener noreferrer"&gt;http://techblog.appirio.com/2009/12/performing-lookups-and-transformations.html&lt;/A&gt;&lt;BR /&gt; - &lt;A href="http://www.talendforge.org/tutorials/tutorial.php?idTuto=9#" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/tutorials/tutorial.php?idTuto=9#&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;          gabriel</description>
      <pubDate>Tue, 26 Jun 2012 09:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285243#M58865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-26T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285244#M58866</link>
      <description>There are global variables created for each available component. Each global variable includes certain properties depending on the type of component. Lookup the global variables for either the oracle stored procedure or the tParseRecordSet. Use a Run If condition for the connector based on the number of rows return in the record set. If there are no rows returned then throw a SOAP fault. If there are records then just execute as normal. See section 4.3 in the Studio User's Guide, or search for "Run If".</description>
      <pubDate>Tue, 26 Jun 2012 13:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285244#M58866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-26T13:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285245#M58867</link>
      <description>Thank you for the answers! But I feel myself so stupid? 
&lt;BR /&gt;I decided to use Run If condition, how Edward wrote, and from tParseRecordSet try to connect row (Trigger ? Run If) to tLogRow_4 ? for normal work and to tXMLMap_4 ? for no data found. But I can?t connect this components 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 02 Jul 2012 12:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285245#M58867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-02T12:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285246#M58868</link>
      <description>Hi Alexander, 
&lt;BR /&gt;I believe you could try the tMap and lookups, I've uploaded screenshots of one of our data services. The iterator component (tFowToIterate) is there so you could parametrize the database output (e.g. as a parameter to your stored procedure). In case no data are returned, you will still got a reply with no data. 
&lt;BR /&gt;As Ed suggested using RunAs looks a little bit more complicated for me, on the other hand it allows you to handle edge situations much better and send faults or do something else if needed. 
&lt;BR /&gt;Gabriel</description>
      <pubDate>Tue, 03 Jul 2012 09:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285246#M58868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T09:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285247#M58869</link>
      <description>Hi, Gabriel, thanks for answer. I've just do like you, but how can you connect tFlowToIterate and tFixedFlowInput?&lt;BR /&gt;I can't do it...</description>
      <pubDate>Tue, 03 Jul 2012 16:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285247#M58869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T16:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285248#M58870</link>
      <description>Hi alexandr, 
&lt;BR /&gt;1. to connect tIterateFlow to tFixedInput there should be 'iterate' link available from the tFlowToIterate element 
&lt;BR /&gt;2. I wouldn't advice to fork the flow the way you did, I don't know the consequences if it works correctly, just start the lookup flow from the tOraceSP and in the paratemers you can use data passed into the tFlowToIterate element (ctrl-space to popup component elements in the parameter editor). The lookup flow will start when required. 
&lt;BR /&gt;good luck 
&lt;BR /&gt; Gabriel</description>
      <pubDate>Tue, 03 Jul 2012 21:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285248#M58870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T21:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285249#M58871</link>
      <description>Sorry, I can't do it... Too stupid, I think 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;The output columns from my stored procedure doesn't match with my input parameter. So I can't join it. 
&lt;BR /&gt;I think there will be a more easy way to resolve problem with 0 rows in output to xmlmap.... I think it is a standard and usual situation in web-services, isn't it?</description>
      <pubDate>Wed, 04 Jul 2012 16:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285249#M58871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-04T16:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285250#M58872</link>
      <description>Hm, I did something 
&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;BR /&gt;I added tDie and connected it with tParseRecordSet with condition 
&lt;BR /&gt;((Integer)globalMap.get("tParseRecordSet_1_NB_LINE"))==0 
&lt;BR /&gt;Now, If oracle procedure returns 0 rows, I have a much more better XML output: 
&lt;BR /&gt; &amp;lt;FAULT&amp;gt; 
&lt;BR /&gt; &amp;lt;FAULTCODE&amp;gt;soap 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;erver&amp;lt;/FAULTCODE&amp;gt; 
&lt;BR /&gt; &amp;lt;FAULTSTRING&amp;gt;Talend job execution error&amp;lt;/FAULTSTRING&amp;gt; 
&lt;BR /&gt; &amp;lt;/FAULT&amp;gt; 
&lt;BR /&gt;And I have a question - can I set in &amp;lt;FAULTSTRING&amp;gt; other message? Something like 'no data found'.</description>
      <pubDate>Thu, 05 Jul 2012 09:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285250#M58872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-05T09:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: No rows return from procedure - Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285251#M58873</link>
      <description>Hi,&lt;BR /&gt;well - your data types should match in data flows..  &lt;BR /&gt;you should use tEsbProviderFault instead of tDie component where you can specify the fault message..&lt;BR /&gt;gabriel</description>
      <pubDate>Thu, 05 Jul 2012 13:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-rows-return-from-procedure-Unexpected-EOF-in-prolog/m-p/2285251#M58873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-05T13:24:32Z</dc:date>
    </item>
  </channel>
</rss>

