<?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: Erratic proc fedsql behaviour in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/349489#M63753</link>
    <description>If you think that you have a solid case for a sw problem, you should open a track to SAS tech support.</description>
    <pubDate>Wed, 12 Apr 2017 15:35:38 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-04-12T15:35:38Z</dc:date>
    <item>
      <title>Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/349291#M63744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;using SAS 9.4 and&amp;nbsp;have been experimenting with PROC FEDSQL and have been experiencing some weird results as shown below in the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="procfedsql.png" alt="procfedsql.png" src="https://communities.sas.com/t5/image/serverpage/image-id/8291i531487E2804F6B43/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;As you can see everytime I run it I get a different result (I manually checked the dataset and the rowcount does match the log so that part is consistent).&amp;nbsp; Changing the code back to using proc sql I get the expected row count every time it is run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why fedsql is giving random results?&amp;nbsp; The input datasets are static and have never changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Reece&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 23:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/349291#M63744</guid>
      <dc:creator>reecec</dc:creator>
      <dc:date>2017-04-11T23:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/349489#M63753</link>
      <description>If you think that you have a solid case for a sw problem, you should open a track to SAS tech support.</description>
      <pubDate>Wed, 12 Apr 2017 15:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/349489#M63753</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-04-12T15:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/359156#M64363</link>
      <description>&lt;P&gt;Hi Reece,&lt;/P&gt;
&lt;P&gt;I will follow up on this. What data source is the&amp;nbsp;LSPMB library accessing? Also&amp;nbsp;what SAS 9.4 release and platform&amp;nbsp;are you&amp;nbsp;using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sylvia&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 18:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/359156#M64363</guid>
      <dc:creator>SylviaPowell</dc:creator>
      <dc:date>2017-05-16T18:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/359225#M64373</link>
      <description>&lt;P&gt;Hi Sylvia,&lt;/P&gt;&lt;P&gt;LSPMB is given by: LIBNAME LSPmb SPDE "/data/SPDE/M_B_PNCHPI" partsize=1028;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%PUT sys-ver = &amp;amp;sysvlong and OS = &amp;amp;SYSSCP &amp;amp;SYSSCPL;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sys-ver = 9.04.01M3P062415 and OS = LIN X64 Linux&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Reece&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 23:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/359225#M64373</guid>
      <dc:creator>reecec</dc:creator>
      <dc:date>2017-05-16T23:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/359393#M64381</link>
      <description>&lt;P&gt;Reece,&lt;/P&gt;
&lt;P&gt;Set&amp;nbsp;the ANSIMODE option in the PROC FEDSQL statement. That should resolve the discrepancy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sylvia&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 14:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/359393#M64381</guid>
      <dc:creator>SylviaPowell</dc:creator>
      <dc:date>2017-05-17T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/502586#M72709</link>
      <description>&lt;P&gt;Dear Sylvia,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is the syntax for doing so? Would you mind to give an coding example? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 06:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/502586#M72709</guid>
      <dc:creator>SvenWagner</dc:creator>
      <dc:date>2018-10-09T06:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/502810#M72713</link>
      <description>&lt;P&gt;Simply add the keyword to the PROC FEDSQL statement:&lt;/P&gt;
&lt;P&gt;proc fedsql ansimode;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the underyling driver is SPD Engine, using ANSIMODE changes the location where the WHERE clause is processed.&amp;nbsp;Normally, the driver&amp;nbsp;processes the request.&amp;nbsp;When ANSIMODE is specified, because SPD Engine uses SAS missing values,&amp;nbsp;&amp;nbsp;the driver rejects any WHERE clause, and the FedSQL driver&amp;nbsp;handles the WHERE clause instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this doesn't work, please file a software problem report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 17:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/502810#M72713</guid>
      <dc:creator>SylviaPowell</dc:creator>
      <dc:date>2018-10-09T17:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Erratic proc fedsql behaviour</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/502985#M72721</link>
      <description>&lt;P&gt;Thanks, but unfortunately, your proposal does not fix the problem in my case. Please, would you take a look at my post &lt;A href="https://communities.sas.com/t5/SAS-Procedures/PROC-FedSQL-with-stochastic-results/td-p/501773" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/PROC-FedSQL-with-stochastic-results/td-p/501773&lt;/A&gt; ? The problem is the same with und without using SPDE.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 06:19:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Erratic-proc-fedsql-behaviour/m-p/502985#M72721</guid>
      <dc:creator>SvenWagner</dc:creator>
      <dc:date>2018-10-10T06:19:14Z</dc:date>
    </item>
  </channel>
</rss>

