<?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: SAS Programming 1: Essentials, Lesson 2 accessing data in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614800#M18634</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304846"&gt;@AJS1&lt;/a&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-sas"&gt;libname out "s:/workshop/output";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In this statement, you create a SAS library called 'OUT' which refers to the physical path "s:/workshop/output'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, SAS stores your datasets in a library called 'WORK', but these datasets are available only during the SAS session.&lt;/P&gt;
&lt;P&gt;If you want to store a dataset &lt;U&gt;permanently&lt;/U&gt;, you need to create permanent libraries (like in your example). This a kind of 'nickname' assigned to a physical folder.&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;nbsp;&lt;STRONG&gt;s:/workshop/output/class_copy2.sas7bdat&lt;/STRONG&gt; will be called &lt;STRONG&gt;out.class_copy2&lt;/STRONG&gt;&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-sas"&gt;data class_copy1 out.class_copy2;
set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In this data step (which begins with DATA and finishes with RUN;), you specify in the first statement the name of the dataset to be created: in your example, you create class_copy1 which is to be stored in the WORK library (you can omit to mention work as it is the default library -&amp;gt; so work.class_copy1 is equal to class_copy1). You create also class_copy2, which is to be stored permanently in the OUT library -&amp;gt; so you will be able to see it in the 's:/workshop/output' folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These two datasets are created from the input dataset CLASS, which is stored in the library SASHELP.&lt;/P&gt;
&lt;P&gt;This action is done through the SET statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS provides a lot of materials (books, etc.) to get more familiar with SAS and deeply understand how it works.&lt;/P&gt;
&lt;P&gt;You can for example take the free e-learning course SAS Programming 1 available here -&amp;gt;&amp;nbsp;&lt;A href="https://support.sas.com/edu/schedules.html?crs=PROG1&amp;amp;ctry=us" target="_self"&gt;https://support.sas.com/edu/schedules.html?crs=PROG1&amp;amp;ctry=us&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The following book is also a great resource:&amp;nbsp;&lt;A href="https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html" target="_self"&gt;https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And also the SAS community&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 17:03:37 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-01-02T17:03:37Z</dc:date>
    <item>
      <title>SAS Programming 1: Essentials, Lesson 2 accessing data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614783#M18626</link>
      <description>&lt;P&gt;What in this code indicates that a table will be made? Is there a code directory that I can use as a guide as I become more familiar with the SAS language?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname out "s:/workshop/output";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data class_copy1 out.class_copy2;&lt;/P&gt;&lt;P&gt;set sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 16:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614783#M18626</guid>
      <dc:creator>AJS1</dc:creator>
      <dc:date>2020-01-02T16:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials, Lesson 2 accessing data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614800#M18634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304846"&gt;@AJS1&lt;/a&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-sas"&gt;libname out "s:/workshop/output";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In this statement, you create a SAS library called 'OUT' which refers to the physical path "s:/workshop/output'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default, SAS stores your datasets in a library called 'WORK', but these datasets are available only during the SAS session.&lt;/P&gt;
&lt;P&gt;If you want to store a dataset &lt;U&gt;permanently&lt;/U&gt;, you need to create permanent libraries (like in your example). This a kind of 'nickname' assigned to a physical folder.&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;nbsp;&lt;STRONG&gt;s:/workshop/output/class_copy2.sas7bdat&lt;/STRONG&gt; will be called &lt;STRONG&gt;out.class_copy2&lt;/STRONG&gt;&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-sas"&gt;data class_copy1 out.class_copy2;
set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In this data step (which begins with DATA and finishes with RUN;), you specify in the first statement the name of the dataset to be created: in your example, you create class_copy1 which is to be stored in the WORK library (you can omit to mention work as it is the default library -&amp;gt; so work.class_copy1 is equal to class_copy1). You create also class_copy2, which is to be stored permanently in the OUT library -&amp;gt; so you will be able to see it in the 's:/workshop/output' folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These two datasets are created from the input dataset CLASS, which is stored in the library SASHELP.&lt;/P&gt;
&lt;P&gt;This action is done through the SET statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS provides a lot of materials (books, etc.) to get more familiar with SAS and deeply understand how it works.&lt;/P&gt;
&lt;P&gt;You can for example take the free e-learning course SAS Programming 1 available here -&amp;gt;&amp;nbsp;&lt;A href="https://support.sas.com/edu/schedules.html?crs=PROG1&amp;amp;ctry=us" target="_self"&gt;https://support.sas.com/edu/schedules.html?crs=PROG1&amp;amp;ctry=us&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The following book is also a great resource:&amp;nbsp;&lt;A href="https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html" target="_self"&gt;https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And also the SAS community&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 17:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614800#M18634</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-01-02T17:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials, Lesson 2 accessing data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614872#M18668</link>
      <description>&lt;P&gt;This reference is exactly what I was looking for &lt;A href="https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html" target="_blank"&gt;https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 21:59:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614872#M18668</guid>
      <dc:creator>AJS1</dc:creator>
      <dc:date>2020-01-02T21:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials, Lesson 2 accessing data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614933#M18691</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304846"&gt;@AJS1&lt;/a&gt;,&lt;BR /&gt;Great!&lt;BR /&gt;Could you please mark the topic as answered to make it available to the community?</description>
      <pubDate>Fri, 03 Jan 2020 09:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming-1-Essentials-Lesson-2-accessing-data/m-p/614933#M18691</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-01-03T09:40:38Z</dc:date>
    </item>
  </channel>
</rss>

