<?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: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558039#M10059</link>
    <description>The original path did NOT work because your Virtual Machine that has SAS is a Unix machine. The Shared Folder location that you created when you installed University Edition is how your Virtual Box software knows where your data is so that SAS, inside the Virtual Machine can use your data.&lt;BR /&gt;&lt;BR /&gt;In the video for how to make the data and in the course, we tell you to find the data folder in SAS Studio and right-click on the folder and choose Properties. The path you need is shown in the Location field of the Properties window.&lt;BR /&gt;&lt;BR /&gt;Later in the course, we will show you how to use a LIBNAME statement so you don't need to keep using the full operating system path. In the future, do not use any part of a Windows, local machine path. The instructions for SAS University Edition, when you made the data, had you do this same right-click and look at Properties to get the correct path for the creation program.&lt;BR /&gt;&lt;BR /&gt;You MUST find the file path when you're starting out by clicking to find the Properties. That's the only absolutely correct way to do it. When you are using SAS on the job, you'll have to do something similar or the data administrator will have to tell you the correct file path. &lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
    <pubDate>Sat, 11 May 2019 14:02:43 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-05-11T14:02:43Z</dc:date>
    <item>
      <title>Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558036#M10058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I was following the captioned tutorial under the free course&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2"&gt;SAS® Programming 1: Essentials. The activity asked to perform as below:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"&amp;nbsp; Open a new program window and perform the following tasks:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="question"&gt;&lt;UL&gt;&lt;LI&gt;Write a PROC CONTENTS step to generate a report of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;storm_summary.sas7bdat&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table.&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;SAS Studio: Specify the path to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG194/data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder and the full name of the table.&lt;/LI&gt;&lt;LI&gt;Enterprise Guide: Specify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;amp;path&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the full name of the table.&amp;nbsp; "&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What i did first was that I manually opened the foilder containing the above file from "My Computer" and then got its file directory from its properties.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then copied the same directory in the Proc Contents step and executed it as per the instructions. SAS code is as below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data="E:\SASUniversityEdition\myfolders\EPG194/storm_summary.sas7bdat";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i got an error message which i have attached as Attachment 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Subsequently I figured out the file location by accessing it through the SAS Studio&amp;nbsp; and found the location address which I have attached as Attachment 2.&amp;nbsp; The address is "/folders/myfolders/EPG194/data/storm_summary.sas7bdat" . By copy pasting this address, into the Proc contents code, i could get the summary table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my question is that why did the original file path which i took from the My Computer did not work and why the other file path which i got from SAS studio only worked. Moreover&amp;nbsp; the file path mentioned in SAS studio started with /folders, whereas in reality the "My Folders" folder was not created in any such folder by name "folders".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How would a new learner be able to figure out this file path logic ? or how would a new comer be able to write the file path without viewing it through the GUI by clicking the properties ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 May 2019 13:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558036#M10058</guid>
      <dc:creator>rakesht</dc:creator>
      <dc:date>2019-05-11T13:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558039#M10059</link>
      <description>The original path did NOT work because your Virtual Machine that has SAS is a Unix machine. The Shared Folder location that you created when you installed University Edition is how your Virtual Box software knows where your data is so that SAS, inside the Virtual Machine can use your data.&lt;BR /&gt;&lt;BR /&gt;In the video for how to make the data and in the course, we tell you to find the data folder in SAS Studio and right-click on the folder and choose Properties. The path you need is shown in the Location field of the Properties window.&lt;BR /&gt;&lt;BR /&gt;Later in the course, we will show you how to use a LIBNAME statement so you don't need to keep using the full operating system path. In the future, do not use any part of a Windows, local machine path. The instructions for SAS University Edition, when you made the data, had you do this same right-click and look at Properties to get the correct path for the creation program.&lt;BR /&gt;&lt;BR /&gt;You MUST find the file path when you're starting out by clicking to find the Properties. That's the only absolutely correct way to do it. When you are using SAS on the job, you'll have to do something similar or the data administrator will have to tell you the correct file path. &lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 11 May 2019 14:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558039#M10059</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-05-11T14:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558040#M10060</link>
      <description>&lt;P&gt;you have to use the same / for unix or \ for windows systems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc contents data="E:\SASUniversityEdition\myfolders\EPG194/storm_summary.sas7bdat";
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;try this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data="E:\SASUniversityEdition\myfolders\EPG194\storm_summary.sas7bdat";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 11 May 2019 14:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558040#M10060</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-05-11T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558045#M10061</link>
      <description>&lt;P&gt;No this did not work.&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 15:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558045#M10061</guid>
      <dc:creator>rakesht</dc:creator>
      <dc:date>2019-05-11T15:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558046#M10062</link>
      <description>Thank you so much !</description>
      <pubDate>Sat, 11 May 2019 15:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558046#M10062</guid>
      <dc:creator>rakesht</dc:creator>
      <dc:date>2019-05-11T15:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558061#M10064</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;You CANNOT use a local Windows path location with SAS University Edition. This will NOT work. When using SAS University Edition, you MUST use the shared folder location, as you see it when you check the Properties for the data folder in SAS Studio. If you followed ALL of our instructions, that path should be:&lt;BR /&gt;data="&lt;STRONG&gt;/folders/myfolders/EPG194/data/storm_summary.sas7bdat&lt;/STRONG&gt;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and, if you are using SAS OnDemand for Academics and followed all the instructions, the location would be:&lt;/P&gt;
&lt;P&gt;data="&lt;STRONG&gt;/home/&amp;lt;yourUserID&amp;gt;/EPG194/data/storm_summary.sas7bdat&lt;/STRONG&gt;";&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;That means if YOUR UserID is &lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;imastudent0&lt;/STRONG&gt;&lt;/FONT&gt; then the path would be:&lt;/P&gt;
&lt;P&gt;data="&lt;STRONG&gt;/home/&lt;FONT color="#FF00FF"&gt;imastudent0&lt;/FONT&gt;/EPG194/data/storm_summary.sas7bdat&lt;/STRONG&gt;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can ONLY use a Windows path if you are using SAS or Enterprise Guide with a local install of SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 17:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/558061#M10064</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-05-11T17:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2: Accessing Data using Proc Contents to view attributes of storm summary dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/647215#M22130</link>
      <description>&lt;P&gt;Im having a similar issue but i have the correct file name and getting this error message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rguit102_0-1589309313430.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39347i17DB624DF101B0F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rguit102_0-1589309313430.png" alt="rguit102_0-1589309313430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rguit102_1-1589309409263.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39348iF243FBB50486239D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rguit102_1-1589309409263.png" alt="rguit102_1-1589309409263.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;could you let me know what I am doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 19:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Lesson-2-Accessing-Data-using-Proc-Contents-to-view-attributes/m-p/647215#M22130</guid>
      <dc:creator>rguit102</dc:creator>
      <dc:date>2020-05-12T19:05:37Z</dc:date>
    </item>
  </channel>
</rss>

