<?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: JMP14 Unable to fetch results set in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68992#M34970</link>
    <description>Thank you! There might be no solution for my issue from the JMP side.</description>
    <pubDate>Tue, 21 Aug 2018 04:51:33 GMT</pubDate>
    <dc:creator>hagaishalev</dc:creator>
    <dc:date>2018-08-21T04:51:33Z</dc:date>
    <item>
      <title>JMP14 Unable to fetch results set</title>
      <link>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68754#M34913</link>
      <description>&lt;P&gt;Trying to get data from SQL server with stored procedure failed in JMP14 and succeed in JMP8 and JMP9.&lt;/P&gt;&lt;P&gt;in JMP14 there is an error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JMP Alert: Unable to fetch results set.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP Alert" style="width: 701px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12097i339EFF195C24B070/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMP14_Alert.PNG" alt="JMP Alert" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JMP Alert&lt;/span&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and there is no result table (show(t1); return "t1=.)&lt;/P&gt;&lt;P&gt;I get the same issue in JSL and with "Databse Open Table"&lt;/P&gt;&lt;P&gt;The stored procedure output countains few empty sets, which need to be skkiped. Apperntly the JMP8 is doing it automatcly, but not the JMP14.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQL output" style="width: 625px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12096iC577459919F7E488/image-size/large?v=v2&amp;amp;px=999" role="button" title="SQL_output.PNG" alt="SQL output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SQL output&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Using Python I overcome this issue by cursor.nextset() untill I get a set with values.&lt;/P&gt;&lt;P&gt;I tried variety of formats, including:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dbc = Create Database Connection(
 
       "DSN=*******;UID=*****;PWD=*********;APP=JMP;WSID=SYS-CB2;DATABASE=Iserve;LANGUAGE=us_english;"
 
);
 
 
t1 = Execute SQL( dbc, "exec PL_RawData_restart '50110326','08/01/2018','08/16/2018' " );&lt;/CODE&gt;&lt;/PRE&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;PRE&gt;&lt;CODE class=" language-jsl"&gt;RawData_dt=Open Database("DSN=*******;UID=****;PWD=*****;APP=JMP;WSID=SYS-CB2;DATABASE=Iserve;LANGUAGE=us_english", "exec PL_RawData_restart '48300134', '2018-07-17', '2018-07-31'");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Aug 2018 08:28:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68754#M34913</guid>
      <dc:creator>hagaishalev</dc:creator>
      <dc:date>2018-08-19T08:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: JMP14 Unable to fetch results set</title>
      <link>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68818#M34932</link>
      <description>&lt;P&gt;I have not used a stored procedure, but here is a link to a JMP blog March 2017 for JMP 13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Database-stored-procedure/td-p/36885" target="_self"&gt;https://community.jmp.com/t5/Discussions/Database-stored-procedure/td-p/36885&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;another regarding NO COUNT ON for JMP 11&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/JMP11-MSSQL-Stored-Procedure-Call/td-p/10906" target="_self"&gt;https://community.jmp.com/t5/Discussions/JMP11-MSSQL-Stored-Procedure-Call/td-p/10906&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a note on why a stored procedure worked in JMP 8 and not in JMP 11&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Importing-SQL-using-a-temp-table/td-p/11760" target="_self"&gt;https://community.jmp.com/t5/Discussions/Importing-SQL-using-a-temp-table/td-p/11760&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope these give you some leads.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 08:16:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68818#M34932</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-08-20T08:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: JMP14 Unable to fetch results set</title>
      <link>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68992#M34970</link>
      <description>Thank you! There might be no solution for my issue from the JMP side.</description>
      <pubDate>Tue, 21 Aug 2018 04:51:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP14-Unable-to-fetch-results-set/m-p/68992#M34970</guid>
      <dc:creator>hagaishalev</dc:creator>
      <dc:date>2018-08-21T04:51:33Z</dc:date>
    </item>
  </channel>
</rss>

