<?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 trouble with libraries in SAS SQL 1: essentials course in Advanced Programming</title>
    <link>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788359#M162</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I started SAS SQL 1: Essentials course. Tried to set up the data following the instructions given for SAS EG. Just realized that when I run &lt;STRONG&gt;1_setupEG,&amp;nbsp;&lt;/STRONG&gt;required data get created in &lt;STRONG&gt;SQ library&lt;/STRONG&gt;. After I run &lt;STRONG&gt;2_setupEG&lt;/STRONG&gt; and &lt;STRONG&gt;3_setupEG&amp;nbsp;&lt;/STRONG&gt;that &lt;STRONG&gt;SQ library&amp;nbsp;&lt;/STRONG&gt;disappears.&lt;/P&gt;&lt;P&gt;Hence when doing activities and other tasks I have to change the data source location from &lt;STRONG&gt;SQ.SAS_data_table &lt;/STRONG&gt;to&lt;STRONG&gt; WORK.SAS_data_table &lt;/STRONG&gt;in every program template that is provided. It is not a hard task, but wondering why this happens?&lt;/P&gt;&lt;P&gt;Any insight is highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jan 2022 22:25:58 GMT</pubDate>
    <dc:creator>mlm155</dc:creator>
    <dc:date>2022-01-04T22:25:58Z</dc:date>
    <item>
      <title>trouble with libraries in SAS SQL 1: essentials course</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788359#M162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I started SAS SQL 1: Essentials course. Tried to set up the data following the instructions given for SAS EG. Just realized that when I run &lt;STRONG&gt;1_setupEG,&amp;nbsp;&lt;/STRONG&gt;required data get created in &lt;STRONG&gt;SQ library&lt;/STRONG&gt;. After I run &lt;STRONG&gt;2_setupEG&lt;/STRONG&gt; and &lt;STRONG&gt;3_setupEG&amp;nbsp;&lt;/STRONG&gt;that &lt;STRONG&gt;SQ library&amp;nbsp;&lt;/STRONG&gt;disappears.&lt;/P&gt;&lt;P&gt;Hence when doing activities and other tasks I have to change the data source location from &lt;STRONG&gt;SQ.SAS_data_table &lt;/STRONG&gt;to&lt;STRONG&gt; WORK.SAS_data_table &lt;/STRONG&gt;in every program template that is provided. It is not a hard task, but wondering why this happens?&lt;/P&gt;&lt;P&gt;Any insight is highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 22:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788359#M162</guid>
      <dc:creator>mlm155</dc:creator>
      <dc:date>2022-01-04T22:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: trouble with libraries in SAS SQL 1: essentials course</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788373#M163</link>
      <description>&lt;P&gt;The LIBNAME statement in SAS is used to define a name to use in your code to reference the datasets in a library.&amp;nbsp; You can call this name the LIBREF.&amp;nbsp; The LIBREF is your link between how you referencing the dataset and where the dataset are stored.&amp;nbsp; If you ran the setup program properly then the dataset(s) should exist in the "library".&amp;nbsp; There should be one physical file with an extension of &lt;STRONG&gt;.sas7bdat&lt;/STRONG&gt;&amp;nbsp;for each dataset in the "library" in the directory that was pointed to by the SQ libref.&amp;nbsp; You should be able to look for the file(s) and check if they were created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You normally have to define your librefs for each SAS session. If you are have having trouble accessing them later then perhaps you have not re-defined the SQ libref by running the LIBNAME statement.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 23:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788373#M163</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-01-04T23:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: trouble with libraries in SAS SQL 1: essentials course</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788942#M164</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like Tom mentioned in his response, it sounds like you need to submit a LIBNAME statement to set up the libref for the SQ library.&amp;nbsp; This needs to be done for each SAS session when you need to use the data in the SQ library.&amp;nbsp; Depending on where you stored your data, the syntax would be:&lt;/P&gt;
&lt;P&gt;LIBNAME SQ "location-where-data-is-stored";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;Rebecca&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 19:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/trouble-with-libraries-in-SAS-SQL-1-essentials-course/m-p/788942#M164</guid>
      <dc:creator>RebeccaCallaway</dc:creator>
      <dc:date>2022-01-07T19:17:14Z</dc:date>
    </item>
  </channel>
</rss>

