<?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: Proc FedSQL: Error with very simple syntax in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-FedSQL-Error-with-very-simple-syntax/m-p/894620#M353376</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What a coincidence! Yesterday I came across these error messages for the first time while trying to help in the thread&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Hash-object-in-proc-DS2/m-p/894480" target="_blank" rel="noopener"&gt;Hash object in proc DS2&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result: PROC DS2 -- and apparently PROC FedSQL as well -- cannot work with &lt;EM&gt;concatenated&lt;/EM&gt; libraries such as SASHELP. For DS2 this is documented in&amp;nbsp;&lt;A href="https://support.sas.com/kb/51/043.html" target="_blank" rel="noopener"&gt;Usage Note 51043: Librefs with concatenated libraries are not supported in DS2&lt;/A&gt; (which I found thanks to &lt;A href="https://communities.sas.com/t5/SAS-Programming/Basic-PROC-DS2-Questions/m-p/301589/highlight/true#M63855" target="_blank" rel="noopener"&gt;this 2016 post&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code works with a libref pointing to a simple permanent library (or WORK, if applicable).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example (Windows):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname lib 'C:\Program Files\SASHome\SASFoundation\9.4\core\sashelp' access=readonly;

proc fedsql;
  select * from lib.class
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 16 Sep 2023 12:41:05 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2023-09-16T12:41:05Z</dc:date>
    <item>
      <title>Proc FedSQL: Error with very simple syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-FedSQL-Error-with-very-simple-syntax/m-p/894615#M353375</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm trying to write some code under SAS9.4 M7 that will be easily migratable to running under Viya 4 and in CAS.&lt;/P&gt;
&lt;P&gt;I've just started my journey to get a bit more seriously into Viya so assume that I'm rather novice and can miss "the basics".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My current environment is:&lt;/P&gt;
&lt;P&gt;X64_10PRO WIN 10.0.19041 Workstation&lt;/P&gt;
&lt;P&gt;9.04.01M7P080520&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run below super simple code I'm getting an error but I don't understand what I'm missing.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fedsql;
  select * from sashelp.class
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;ERROR: Table "SASHELP.CLASS" does not exist or cannot be accessed
ERROR: BASE driver, schema name SASHELP was not found for this connection&lt;/PRE&gt;
&lt;P&gt;I didn't see in the Docu that Proc FedSQL is Viya only so not sure what I'm missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also couldn't find in the docu if/where I would have to define the missing connection as the error message indicates.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2023 11:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-FedSQL-Error-with-very-simple-syntax/m-p/894615#M353375</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-09-16T11:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc FedSQL: Error with very simple syntax</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-FedSQL-Error-with-very-simple-syntax/m-p/894620#M353376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What a coincidence! Yesterday I came across these error messages for the first time while trying to help in the thread&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Hash-object-in-proc-DS2/m-p/894480" target="_blank" rel="noopener"&gt;Hash object in proc DS2&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result: PROC DS2 -- and apparently PROC FedSQL as well -- cannot work with &lt;EM&gt;concatenated&lt;/EM&gt; libraries such as SASHELP. For DS2 this is documented in&amp;nbsp;&lt;A href="https://support.sas.com/kb/51/043.html" target="_blank" rel="noopener"&gt;Usage Note 51043: Librefs with concatenated libraries are not supported in DS2&lt;/A&gt; (which I found thanks to &lt;A href="https://communities.sas.com/t5/SAS-Programming/Basic-PROC-DS2-Questions/m-p/301589/highlight/true#M63855" target="_blank" rel="noopener"&gt;this 2016 post&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code works with a libref pointing to a simple permanent library (or WORK, if applicable).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example (Windows):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname lib 'C:\Program Files\SASHome\SASFoundation\9.4\core\sashelp' access=readonly;

proc fedsql;
  select * from lib.class
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Sep 2023 12:41:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-FedSQL-Error-with-very-simple-syntax/m-p/894620#M353376</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-09-16T12:41:05Z</dc:date>
    </item>
  </channel>
</rss>

