<?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 lesson 2 activity 2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650093#M194943</link>
    <description>&lt;P&gt;Thank you for your reply, unfortunately, the solution didn't work, it comes up with a different error and creating libraries was the next section of the course so hopefully, I can figure out the new issue there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find out what the issue was with the physical file name length and which bit I need to change to hard code the pathway as in the course, can't understand the error as the storm_summary.sas7bdat is used in the example in the course.&lt;/P&gt;</description>
    <pubDate>Sat, 23 May 2020 14:57:50 GMT</pubDate>
    <dc:creator>JaxonKing</dc:creator>
    <dc:date>2020-05-23T14:57:50Z</dc:date>
    <item>
      <title>SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650089#M194940</link>
      <description>&lt;P&gt;I am having a slight issue when trying to do the proc contents data activity. When putting the code in with my file it is coming up with the error the physical name is too long (5 folders deep in Z drive to get to EPG1V2). Even after shortening it to a couple of folders higher than EPG1V2 it still gives the same message, am I missing something with my formatting?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc contents data="Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data\storm_summary.sas7bdat";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above is the code I am using.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 14:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650089#M194940</guid>
      <dc:creator>JaxonKing</dc:creator>
      <dc:date>2020-05-23T14:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650091#M194942</link>
      <description>&lt;P&gt;Assign a libname first:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test "Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;then use the library to address your dataset:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=test.storm_summary;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Use any valid SAS name with a maximum length of 8 in place of "test".&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 14:42:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650091#M194942</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-23T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650093#M194943</link>
      <description>&lt;P&gt;Thank you for your reply, unfortunately, the solution didn't work, it comes up with a different error and creating libraries was the next section of the course so hopefully, I can figure out the new issue there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find out what the issue was with the physical file name length and which bit I need to change to hard code the pathway as in the course, can't understand the error as the storm_summary.sas7bdat is used in the example in the course.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 14:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650093#M194943</guid>
      <dc:creator>JaxonKing</dc:creator>
      <dc:date>2020-05-23T14:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650094#M194944</link>
      <description>&lt;P&gt;Please post the logs of your initial try with the physical name, and that of the libname assignment.&lt;/P&gt;
&lt;P&gt;Use the &amp;lt;/&amp;gt; button to post logs.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 15:14:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650094#M194944</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-23T15:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650096#M194946</link>
      <description>&lt;P&gt;This is the initial code and log that was used.&lt;/P&gt;&lt;PRE&gt;proc contents data="Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data\storm_summary.sas7bdat";
run;&lt;BR /&gt;&lt;BR /&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         proc contents data="Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data\storm_summary.sas7bdat";
 ERROR: The physical file name "Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data\storm_summary.sas7bdat" is too long.
 74         run;
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              470.65k
       OS Memory           29864.00k
       Timestamp           05/23/2020 02:54:52 PM
       Step Count                        108  Switch Count  0
       Page Faults                       0
       Page Reclaims                     61
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           8
       
 NOTE: The SAS System stopped processing this step because of errors.
 75         
 76         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 88     &lt;/PRE&gt;&lt;P&gt;Then the libname adaption that you suggested to me with the log.&lt;/P&gt;&lt;PRE&gt;libname coding "Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data";

proc contents data=coding.storm_summary;
run;&lt;/PRE&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         libname coding "Z:\Users\UKGC\Documents\Coding\SAS\EPG1V2\data";
 NOTE: Library CODING does not exist.
 74         
 75         proc contents data=coding.storm_summary;
 ERROR: File CODING.STORM_SUMMARY.DATA does not exist.
 76         run;
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              473.93k
       OS Memory           29864.00k
       Timestamp           05/23/2020 03:40:56 PM
       Step Count                        114  Switch Count  0
       Page Faults                       0
       Page Reclaims                     63
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           8
       
 NOTE: The SAS System stopped processing this step because of errors.
 77         
 78         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 90         &lt;/PRE&gt;&lt;P&gt;sorry if I have missed something basic but I just can't figure out what has gone wrong.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 15:45:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650096#M194946</guid>
      <dc:creator>JaxonKing</dc:creator>
      <dc:date>2020-05-23T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650098#M194948</link>
      <description>&lt;P&gt;This is your clue:&lt;/P&gt;
&lt;PRE&gt;NOTE: Library CODING does not exist.&lt;/PRE&gt;
&lt;P&gt;SAS cannot "see" the path you specified. There are lots of possible reasons for this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;your SAS server uses a UNIX system and needs different pathname syntax&lt;/LI&gt;
&lt;LI&gt;the (obvious) shared network resource is not available on the server&lt;/LI&gt;
&lt;LI&gt;there is a subtle mistake in the spelling of the path&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;just to name a few&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 16:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650098#M194948</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-23T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650099#M194949</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I was working on the files and data sets from the course download the file directory that I called from was different from where some of it is saved. I changed the file pathway and it is now working for both the initial and the library function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Had to right-click properties on the storm_summary to find out it was different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help and time.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 16:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650099#M194949</guid>
      <dc:creator>JaxonKing</dc:creator>
      <dc:date>2020-05-23T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650103#M194951</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/330418"&gt;@JaxonKing&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help and time.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You're welcome! Glad if I could point you in the right direction.&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 18:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650103#M194951</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-23T18:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650109#M194954</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;Just a note. There are 2 PROC CONTENTS activities using the storm_summary data. In the first activity, we want you to use a fully qualified path name so that you see it IS possible to use an operating system specific path name for the data= option.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;For example, on my SAS University Edition folder, the fully qualified path for the storm_summary file is: &lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;/folders/myfolders/EPG1V2/data/storm_summary.sas7bdat&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;On SAS OnDemand for Academics, the fully qualified path for storm_summary is:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;/home/&amp;lt;userID&amp;gt;/EPG1V2/data/storm_summary.sas7bdat&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;On SAS for Windows local install, the fully qualified path is:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;c:\SAS_class\EPG1V2\data\storm_summary.sas7bdat&lt;/STRONG&gt; &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;So, the first PROC CONTENTS activity has you do this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;proc contents data="/folders/myfolders/EPG1V2/data/storm_summary.sas7bdat";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;proc contents data="/home/&amp;lt;userID&amp;gt;/EPG1V2/data/storm_summary.sas7bdat";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc contents data="c:\SAS_class\EPG1V2\data\storm_summary.sas7bdat";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;After we show students that they CAN use an operating system path name, next we show students the LIBNAME method as explained by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;. With a proper LIBNAME statement such as:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname pg1 "/folders/myfolders/EPG1V2/data";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname pg1 "/home/&amp;lt;userID&amp;gt;/EPG1V2/data";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname pg1 "c:\SAS_class\EPG1V2\data";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Then the PROC CONTENTS code would be the same:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;proc contents data=pg1.storm_summary;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this clarifies what we were intending in the course. If you're using SAS Studio, it is always possible to find the correct path for the LIBNAME statement by doing a right-mouse-click on the data subfolder under EPG1V2 and then choosing Properties. The Location field in the Properties window will show you the correct path to use for your LIBNAME statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Or, you can right-click on the data table file (the sas7bdat file) and choose Properties if you prefer to use the full operating system path method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Cynthia &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 19:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/650109#M194954</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-05-23T19:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651324#M195415</link>
      <description>hi Cynthia,&lt;BR /&gt;I am facing the same error here when doing PG1 elearning activities:&lt;BR /&gt;here is what I worte in SAS studio via OnDemand&lt;BR /&gt;proc contents data="C:\Users\sbjjnl\Desktop\elearning_data\EPG1V2/data/storm_summary.sas7bdat";&lt;BR /&gt;run;&lt;BR /&gt;Then I got the log error "ERROR: physical file name "C:\Users\ SBJJNL \Desktop\elearning_data\EPG1V2\data\storm_summary.sas7bdat" is too long."&lt;BR /&gt;&lt;BR /&gt;here is the complete log info&lt;BR /&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;70&lt;BR /&gt;71 proc contents data="C:\Users\sbjjnl\Desktop\elearning_data\EPG1V2\data\storm_summary.sas7bdat";&lt;BR /&gt;ERROR: 物理文件名“C:\Users\sbjjnl\Desktop\elearning_data\EPG1V2\data\storm_summary.sas7bdat”过长。&lt;BR /&gt;72 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: 由于上述错误，没有处理语句。&lt;BR /&gt;NOTE: “PROCEDURE CONTENTS”所用时间（总处理时间）:&lt;BR /&gt;实际时间 0.00 秒&lt;BR /&gt;用户 CPU 时间 0.00 秒&lt;BR /&gt;系统 CPU 时间 0.00 秒&lt;BR /&gt;内存 470.65k&lt;BR /&gt;OS 内存 32384.00k&lt;BR /&gt;时间戳 2020-05-28 上午08:00:05&lt;BR /&gt;Step Count 122 Switch Count 0&lt;BR /&gt;页错误数 0&lt;BR /&gt;页回收数 56&lt;BR /&gt;页交换数 0&lt;BR /&gt;主动上下文切换数 0&lt;BR /&gt;被动上下文切换数 0&lt;BR /&gt;块输入操作数 0&lt;BR /&gt;块输出操作数 8&lt;BR /&gt;&lt;BR /&gt;NOTE: 由于出错，SAS 系统停止处理该步。&lt;BR /&gt;73&lt;BR /&gt;74 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;85&lt;BR /&gt;&lt;BR /&gt;please help and indicate which part I was wrong, thanks a lot.</description>
      <pubDate>Thu, 28 May 2020 08:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651324#M195415</guid>
      <dc:creator>Janny</dc:creator>
      <dc:date>2020-05-28T08:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651327#M195418</link>
      <description>&lt;P&gt;Please read and follow the instructions for your environment. SAS on Demand runs on UNIX servers in the cloud and does NOT have access to your C: drive.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 08:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651327#M195418</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-28T08:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651330#M195420</link>
      <description>thank you so much for pointing this out! it works this time!!</description>
      <pubDate>Thu, 28 May 2020 08:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651330#M195420</guid>
      <dc:creator>Janny</dc:creator>
      <dc:date>2020-05-28T08:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651395#M195445</link>
      <description>Hi: Please do not bury your post inside another posting. I almost didn't see it. How are you using SAS: &lt;BR /&gt;1) local copy of SAS on windows (click the SAS icon from the Start Menu)&lt;BR /&gt;2) SAS University Edition in a Virtual Machine (start SAS Studio by first opening Virtual Box or VMWare Player to start)&lt;BR /&gt;3) SAS OnDemand for Academics (start SAS Studio by clicking in SAS Control Center Dashboard)&lt;BR /&gt;4) Using SAS Enterprise Guide&lt;BR /&gt;&lt;BR /&gt;The instructions you follow will determine how you should write your code. Are you using SAS Studio? If you right click on the storm_summary.sas7bdat file and choose Properties, what is the full path you see in the Location field in the Properties window -- this is what you should have in your code.&lt;BR /&gt;  &lt;BR /&gt;Post a screen shot of your Properties field and then post the log that shows an error message on that same path....that EXACT same path.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 28 May 2020 14:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/651395#M195445</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-05-28T14:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/807052#M318093</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;This is for the web-based SAS Studio version. Right click the (virtual) folder where the file is and click "properties." It will show you the path. Mine is&amp;nbsp;/home/u167737/EPG1V2/data. So the correct programming line would be&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;proc contents data="/home/u167737/storm_summary.sas7bdat"; run;&lt;/PRE&gt;Good luck!&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 17:32:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/807052#M318093</guid>
      <dc:creator>howardtsai</dc:creator>
      <dc:date>2022-04-10T17:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS programming 1 lesson 2 activity 2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/807073#M318109</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;Actually, you have to account for the full path in the data= option when you use the full filename and extension. When we create the data for the course, we put the storm_summary.sas7bdat file in the EPG1V2/data folder. So in this case, the correct path would be:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;proc contents data='&lt;FONT color="#0000FF"&gt;/home/&lt;/FONT&gt;&lt;FONT color="#FF00FF"&gt;&amp;lt;youruserID&amp;gt;&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;/EPG1V2/data&lt;/FONT&gt;&lt;FONT color="#339966"&gt;/storm_summary.sas7bdat&lt;/FONT&gt;';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;All absolute file paths on the On-Demand server must start with &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;/home/&amp;lt;youruserID&amp;gt;/&lt;/STRONG&gt;&lt;/FONT&gt; (everybody has a different userID. Then the class folder (if you followed the instructions) of &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;EGP1V2/&lt;/FONT&gt; &lt;/STRONG&gt;and the subfolder of &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data/&lt;/STRONG&gt;&lt;/FONT&gt;. Finally the file name and file extension, &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;storm_summary.sas7bdat&lt;/STRONG&gt;&lt;/FONT&gt;. Later in the class, we'll show you how to use a LIBNAME statement to bypass the need to use the fully qualified path like this.&lt;BR /&gt;We always recommend the right-click and Properties method to see the full path.&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 23:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-programming-1-lesson-2-activity-2/m-p/807073#M318109</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-04-10T23:16:33Z</dc:date>
    </item>
  </channel>
</rss>

