<?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 Programming1 Lesson4: Preparing Data, Reading And Filtering,  Activity in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784583#M1009</link>
    <description>&lt;P&gt;A library is a theoretical concept, it is a shortcut to the file path you've indicated.&lt;/P&gt;
&lt;P&gt;If you were on a Windows computer you could navigate to that file path and see the SASfiles as SAS7bdat files. &lt;BR /&gt;You can do it in SAS On Demand as well, go to the Servers Files and Folders pane and navigate to that location and see the same SAS files as in the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The path argument should be abandoned empty enclosed with double quotations, shoudn't it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;No, the library is a simplification that makes it easier to reference files without having to list the full file path each time but you have to declare it at least once, which is what the LIBNAME statement does. If you set it up as Automount or put it in your Autoexec file it is loaded automatically but the code is somewere (autoexec file).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/408874"&gt;@shigemuraJun&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;• My interface is SAS studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I was doing the first activity of Lesson4 and checking my code along with its hiden answer. A doubt arise to me as follows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;• To create a permanent table with LIBNAME statement, why do we need to pass in Path argument like "path-to-EPG1V2/output" as recommended below since I guess that a new table is not stored in the output folder but in my libraries?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;• The path argument should be abandoned empty enclosed with double quotations, shoudn't it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;== quote ==&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;SPAN&gt;: To create&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;storm_cat5&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;as a permanent table in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/output&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;folder, you would simply submit a LIBNAME statement to define a library and then reference the library on the DATA statement as in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;libname out "path-to-EPG1V2/output";
data out.storm_cat5;
. . .
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;== Unquote==&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 18:04:42 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-12-07T18:04:42Z</dc:date>
    <item>
      <title>SAS Programming1 Lesson4: Preparing Data, Reading And Filtering,  Activity</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784579#M1006</link>
      <description>&lt;P&gt;• My interface is SAS studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I was doing the first activity of Lesson4 and checking my code along with its hiden answer. A doubt arise to me as follows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• To create a permanent table with LIBNAME statement, why do we need to pass in Path argument like "path-to-EPG1V2/output" as recommended below since I guess that a new table is not stored in the output folder but in my libraries?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• The path argument should be abandoned empty enclosed with double quotations, shoudn't it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;== quote ==&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;SPAN&gt;: To create&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;storm_cat5&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;as a permanent table in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/output&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;folder, you would simply submit a LIBNAME statement to define a library and then reference the library on the DATA statement as in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;libname out "path-to-EPG1V2/output";
data out.storm_cat5;
. . .
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;== Unquote==&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sass22.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66462i3C4ABA941EB0B8F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sass22.png" alt="sass22.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sass11.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66463i6033D25BD93AAB76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sass11.png" alt="sass11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 17:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784579#M1006</guid>
      <dc:creator>shigemuraJun</dc:creator>
      <dc:date>2021-12-07T17:43:00Z</dc:date>
    </item>
    <item>
      <title>SAS Programming1 Lesson4: Preparing Data, Reading And Filtering,  Activity</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784576#M1008</link>
      <description>&lt;P&gt;• My interface is SAS studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I was doing the first activity of Lesson4 and checking my code along with its hiden answer. A doubt arise to me as follows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• To create a permanent table with LIBNAME statement, why do we need to pass in Path argument like "path-to-EPG1V2/output" as recommended below since I guess that a new table is not stored in the output folder but in my libraries?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;• The path argument should be abandoned empty enclosed with double quotations, shoudn't it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;== quote ==&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;SPAN&gt;: To create&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;storm_cat5&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;as a permanent table in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/output&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;folder, you would simply submit a LIBNAME statement to define a library and then reference the library on the DATA statement as in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;libname out "path-to-EPG1V2/output";
data out.storm_cat5;
. . .
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;== Unquote==&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 17:39:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784576#M1008</guid>
      <dc:creator>shigemuraJun</dc:creator>
      <dc:date>2021-12-07T17:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming1 Lesson4: Preparing Data, Reading And Filtering,  Activity</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784583#M1009</link>
      <description>&lt;P&gt;A library is a theoretical concept, it is a shortcut to the file path you've indicated.&lt;/P&gt;
&lt;P&gt;If you were on a Windows computer you could navigate to that file path and see the SASfiles as SAS7bdat files. &lt;BR /&gt;You can do it in SAS On Demand as well, go to the Servers Files and Folders pane and navigate to that location and see the same SAS files as in the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The path argument should be abandoned empty enclosed with double quotations, shoudn't it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;No, the library is a simplification that makes it easier to reference files without having to list the full file path each time but you have to declare it at least once, which is what the LIBNAME statement does. If you set it up as Automount or put it in your Autoexec file it is loaded automatically but the code is somewere (autoexec file).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/408874"&gt;@shigemuraJun&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;• My interface is SAS studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I was doing the first activity of Lesson4 and checking my code along with its hiden answer. A doubt arise to me as follows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;• To create a permanent table with LIBNAME statement, why do we need to pass in Path argument like "path-to-EPG1V2/output" as recommended below since I guess that a new table is not stored in the output folder but in my libraries?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;• The path argument should be abandoned empty enclosed with double quotations, shoudn't it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;== quote ==&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;SPAN&gt;: To create&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;storm_cat5&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;as a permanent table in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/output&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;folder, you would simply submit a LIBNAME statement to define a library and then reference the library on the DATA statement as in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;libname out "path-to-EPG1V2/output";
data out.storm_cat5;
. . .
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;== Unquote==&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 18:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming1-Lesson4-Preparing-Data-Reading-And-Filtering/m-p/784583#M1009</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-07T18:04:42Z</dc:date>
    </item>
  </channel>
</rss>

