<?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: Creating a library then creating a table in Base SAS 9.4 in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-library-then-creating-a-table-in-Base-SAS-9-4/m-p/705797#M26278</link>
    <description>&lt;P&gt;Please run the LIBNAME and the SQL in one submit, and then post the complete log from that, using the &amp;lt;/&amp;gt; button.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 18:02:52 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-12-14T18:02:52Z</dc:date>
    <item>
      <title>Creating a library then creating a table in Base SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-library-then-creating-a-table-in-Base-SAS-9-4/m-p/705783#M26277</link>
      <description>&lt;P&gt;My goal is to create a table in library abc using data within a remote server (i.e. my organization's data warehouse):&lt;/P&gt;&lt;PRE&gt;libname abc 'C:/Users/xxx/Desktop/SAS';&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above runs successfully, and then I am able to see and access library abc on the explorer window on the left side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I submit the following:&lt;/P&gt;&lt;PRE&gt;proc sql;
connect to db2(database = aaa user=&amp;amp;user. password=&amp;amp;pw.);

create table abc.srv_table_1 as
select *
from srv.table_1
;
quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The creation fails and outputs the following in the log:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Library abc does not exist&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 17:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-library-then-creating-a-table-in-Base-SAS-9-4/m-p/705783#M26277</guid>
      <dc:creator>tiramisu</dc:creator>
      <dc:date>2020-12-14T17:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a library then creating a table in Base SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-library-then-creating-a-table-in-Base-SAS-9-4/m-p/705797#M26278</link>
      <description>&lt;P&gt;Please run the LIBNAME and the SQL in one submit, and then post the complete log from that, using the &amp;lt;/&amp;gt; button.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 18:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-library-then-creating-a-table-in-Base-SAS-9-4/m-p/705797#M26278</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-14T18:02:52Z</dc:date>
    </item>
  </channel>
</rss>

