<?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: Error activity in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/469015#M119887</link>
    <description>&lt;P&gt;I do whatever you say at this topic but I still get 25 errors about the file does not exist.&lt;/P&gt;&lt;DIV class="sasSource"&gt;I work with ubuntu 16.04 lts&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;this is one of this error:&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;PRE&gt;9262 run;
9263 data _null_;
9264 infile datalines truncover length=length;
9265 input;
9266 file mydata(nonsales.csv) lrecl=256;
9267 put _infile_ $varying. length;
9268 datalines4;
 
ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/FILEPATH.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped proces&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-06-10 15-50-01.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21129iD9211DF65B8B6595/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2018-06-10 15-50-01.png" alt="Screenshot from 2018-06-10 15-50-01.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-06-10 15-56-21.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21130iE27941C9082E6CE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2018-06-10 15-56-21.png" alt="Screenshot from 2018-06-10 15-56-21.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-06-10 13-37-14.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21131i20AD11226942B2B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2018-06-10 13-37-14.png" alt="Screenshot from 2018-06-10 13-37-14.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Jun 2018 14:05:07 GMT</pubDate>
    <dc:creator>tahoora</dc:creator>
    <dc:date>2018-06-10T14:05:07Z</dc:date>
    <item>
      <title>Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306107#M65407</link>
      <description>&lt;P&gt;Hello!!&lt;/P&gt;&lt;P&gt;I need your help.&lt;/P&gt;&lt;P&gt;I.m doing a activity .This is my activity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this practice, you submit a SAS program, review the log messages, and examine the results.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reminder&lt;/STRONG&gt;: Make sure you've &lt;A&gt;defined the &lt;STRONG&gt;orion&lt;/STRONG&gt; library&lt;/A&gt;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy and paste the following code into the editor.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;data work.newcountry;
   length Country_Code $ 2 Country_Name $ 48;
   infile "&amp;amp;path/country.dat" dlm='!'; 
   input Country_Code $ Country_Name $;
run;

proc print data=work.newcountry;
run;&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Submit the code and then examine the results. How many rows and columns are in the report?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Examine the log. Based on the log notes following the DATA step, how many observations and variables are in the data set &lt;STRONG&gt;work.newcountry&lt;/STRONG&gt;?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, I create my library, this library is called Bea but can I can run my codige I have this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Physical file does not exist, /folders/myfolders/ecprg193/country.dat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don,t understant this because this is the first activity and before I didn.t explain me anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!!!!!!!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bea&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306107#M65407</guid>
      <dc:creator>beatraca</dc:creator>
      <dc:date>2016-10-20T21:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306114#M65411</link>
      <description>&lt;P&gt;Where is this 'activity' from?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306114#M65411</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-20T22:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306118#M65412</link>
      <description>&lt;P&gt;In the beginning instructions when setting up the course, you should have downloaded a zip file that contains the files you need to run the practice programs, like the country.dat data file you're referencing in this program. First, did you download the these? Second of all, you have to make sure you placed those files in the location that you've specified as the path:&amp;nbsp;&lt;SPAN&gt;/folders/myfolders/ecprg193/. You may just have the files in a different location.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306118#M65412</guid>
      <dc:creator>JediApprentice</dc:creator>
      <dc:date>2016-10-20T22:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306119#M65413</link>
      <description>&lt;P&gt;If you're on SAS UE and using the free e training courses, see this post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Orion-Library-on-SAS-university-edition/m-p/302837/highlight/true#M64289" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Orion-Library-on-SAS-university-edition/m-p/302837/highlight/true#M64289&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306119#M65413</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-20T22:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306121#M65414</link>
      <description>&lt;P&gt;Hi: &lt;BR /&gt; In the Programming 1 e-learning class, we do NOT provide the SAS datasets in a zip file. (only EG and JMP and EM classes have zip files with data sets -- programming courses have programs to make the data and a few courses have some Excel files in a zip archive).&lt;BR /&gt;&lt;BR /&gt; The Programming 1 e-learning class has a program inside the e-learning course that the student must copy and paste into their editor and that program, when run, makes ALL the data sets and .DAT files that are used in the course.&lt;BR /&gt; &lt;BR /&gt; The OP did not indicate what class they were following, but the Reminder text looks like it comes straight out of the e-learning course.&lt;BR /&gt;&lt;BR /&gt;In the e-learning course, in the instructions, the student is told to create a file called setup.sas or make a snippet file in SAS Studio that contains these 2 statements:&lt;BR /&gt;%let path=/folders/myfolders/ecprg193;&lt;BR /&gt;libname orion "&amp;amp;path";&lt;BR /&gt;&lt;BR /&gt;That way if &amp;amp;PATH exists then the INFILE statement (as shown in the OP code)&lt;BR /&gt;infile "&amp;amp;path/country.dat" dlm='!'; &lt;BR /&gt;&lt;BR /&gt;Will work, because &amp;amp;PATH will have a value or path, as assigned in the setup.sas or setup snippet.&lt;BR /&gt;&lt;BR /&gt;However, if you do NOT ever run the instructions in the Course Overview section of Programming 1, then the physical location will be empty.&lt;BR /&gt;&lt;BR /&gt; BTW, in the Programming 1 class, all of our programs are expecting a library called ORION (not a library called BEA). And, all of our programs are expecting that the student will follow the instructions and issue a %let statement to create the "helper" macro variable called &amp;amp;PATH.&lt;BR /&gt;&lt;BR /&gt;The "physical file does not exist message" implies to me that the OP did not follow ALL of the instructions in the Course Overview and Data Setup section of the Programming 1 e-learning course.&lt;BR /&gt;&lt;BR /&gt;Reading country.dat is NOT the first activity. Running the program and doing the setup in the Course Overview section is the first activity and if you don't follow and complete ALL of the instructions, then the data files will not exist when you move into the lessons.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I can exactly replicate your error message if I submit my code WITHOUT submitting the setup program, as instructed in Task 1 in the course instructions.&lt;/P&gt;
&lt;P&gt;1) Can generate the SAME error message if &amp;amp;PATH is not defined&lt;/P&gt;
&lt;P&gt;&lt;IMG title="duplicate_error_message_if_no_path.png" alt="duplicate_error_message_if_no_path.png" src="https://communities.sas.com/t5/image/serverpage/image-id/5399i8A45CEFE5E19628A/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Instructions that show where to save the setup statements&lt;/P&gt;
&lt;P&gt;&lt;IMG title="pg1_instructions_ue.png" alt="pg1_instructions_ue.png" src="https://communities.sas.com/t5/image/serverpage/image-id/5400iF4DD38C7D4ECD737/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) program submitted successfully AFTER running necessary statements&lt;/P&gt;
&lt;P&gt;&lt;IMG title="successful_read_country_dat_file.png" alt="successful_read_country_dat_file.png" src="https://communities.sas.com/t5/image/serverpage/image-id/5401i290EB8CC2BA46D87/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 01:45:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306121#M65414</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-21T01:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306360#M65491</link>
      <description>&lt;P&gt;Hi.Where is this zip file? I can.t see it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 16:29:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306360#M65491</guid>
      <dc:creator>beatraca</dc:creator>
      <dc:date>2016-10-21T16:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306370#M65493</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my problem&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5423i2BA17CFA3C936821/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="archivo2.png" title="archivo2.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5422iA24B2D41949BD36F/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="archivo1.png" title="archivo1.png" width="819" height="452" /&gt;&lt;/P&gt;&lt;P&gt;I have this error and I don.t know as resolve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13074iB82F90A9D990A94E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="archivo1.png" title="archivo1.png" /&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306370#M65493</guid>
      <dc:creator>beatraca</dc:creator>
      <dc:date>2016-10-21T17:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306372#M65495</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas﻿&lt;/a&gt;&amp;nbsp;post, #2 and look at the second red box highlighted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306372#M65495</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-21T17:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306375#M65497</link>
      <description>&lt;P&gt;Thanks but I did&amp;nbsp;&amp;nbsp;these steps and I have the same error &amp;nbsp;&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://communities.sas.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5425i85F9C7832840D69B/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="archivo2.png" title="archivo2.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306375#M65497</guid>
      <dc:creator>beatraca</dc:creator>
      <dc:date>2016-10-21T17:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306377#M65499</link>
      <description>Hi: There is NOT a zip file. As Reeza suggests, you must look at my picture of the tasks in #2 above and follow ALL the instructions in Task 1. It looks like you made a folder. That is good. That means your 2 statements for Task 1, #4 are:&lt;BR /&gt;%let path=/folders/myfolders/ecprg193;&lt;BR /&gt;libname orion "&amp;amp;path";&lt;BR /&gt;&lt;BR /&gt;But that is NOT enough. You MUST finish ALL the steps in Task 2. Task 2, #2 has a link to click which brings the code into a popup window. You MUST copy and paste that code from Task 2, #2 into your Editor Window and run the code, as I show in my #3 screen shot, after you run the code successfully (from Task 2) then you should see the files under the ecprg193 folder.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Fri, 21 Oct 2016 17:17:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306377#M65499</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-21T17:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306378#M65500</link>
      <description>&lt;P&gt;I wrote this code in my program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let path=/folders/myfolders/ecprg193;&lt;BR /&gt;libname orion "&amp;amp;path";&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;The log was&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasNote"&gt;NOTE: El libref ORION se ha asignado correctamente:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Motor: V9&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Nombre físico: /folders/myfolders/ecprg193ç&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;later&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;data work.newcountry;&lt;BR /&gt;length Country_Code $ 2 Country_Name $ 48;&lt;BR /&gt;infile "&amp;amp;path/country.dat" dlm='!';&lt;BR /&gt;input Country_Code $ Country_Name $;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;The log is&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;DIV class="sasSource"&gt;data work.newcountry;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;61 length Country_Code $ 2 Country_Name $ 48;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;62 infile "&amp;amp;path/country.dat" dlm='!';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;63 input Country_Code $ Country_Name $;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;64&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;65 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /folders/myfolders/ecprg193/country.dat.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306378#M65500</guid>
      <dc:creator>beatraca</dc:creator>
      <dc:date>2016-10-21T17:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306379#M65501</link>
      <description>Did you actually RUN the program in Task 2, step 2, as highlighted in my previous posting. If so, and if the program WAS successful, then you would have files underneath the ecprg193 folder. &lt;BR /&gt;&lt;BR /&gt;Since you do NOT have files under the ECPRG193 folder, you will need to go back to the beginning and do not try to read country.dat until AFTER you have run the program from Task 2, step 2 successfully and you see files under the ecprg193 folder.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Fri, 21 Oct 2016 17:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306379#M65501</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-21T17:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306380#M65502</link>
      <description>&lt;P&gt;Did you copy the code from the CLICK HERE link and run it?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306380#M65502</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-21T17:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306390#M65503</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Here is a set of numbered screen shots that illustrate the entire process from an empty folder for ecprg193 to a successful program.&lt;/P&gt;
&lt;P&gt;Start with instructions&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5426i621844A7320003E4/image-size/original?v=v2&amp;amp;px=-1" alt="_0_start_with_instructions_inside_course.png" title="_0_start_with_instructions_inside_course.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#1 Make a folder (you have already done this step)&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5427i7588685D0FBBE66F/image-size/original?v=v2&amp;amp;px=-1" alt="_1_make_folder_for_class.png" title="_1_make_folder_for_class.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#2 Check folder properties&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5428i2F154DA56709E935/image-size/original?v=v2&amp;amp;px=-1" alt="_2_right_click_see_folder_properties_note_correct_path.png" title="_2_right_click_see_folder_properties_note_correct_path.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#3 Run "setup" with LIBNAME&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5429iFF08C4E3300CF403/image-size/original?v=v2&amp;amp;px=-1" alt="_3_after_setup_task_1_LIBNAME.png" title="_3_after_setup_task_1_LIBNAME.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#4 at some point save code as setup.sas or save as snippet&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5430iFD45746F863E3289/image-size/original?v=v2&amp;amp;px=-1" alt="_4_save_as_setup_file.png" title="_4_save_as_setup_file.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#5 Task 2, Step 2, Paste code into the Studio editor window&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5431iD5CB87560AE3E3A5/image-size/original?v=v2&amp;amp;px=-1" alt="_5_code_pasted_in_editor_window.png" title="_5_code_pasted_in_editor_window.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#6 After code runs, see files in ecprg193 folder and see PROC CONTENTS in Results window&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5432i81AF2738D5E6C33D/image-size/original?v=v2&amp;amp;px=-1" alt="_6_after_Task2_code_runs_in_SAS_Univ_Edition.png" title="_6_after_Task2_code_runs_in_SAS_Univ_Edition.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#7 After Task 2, Step 2 code runs successfully, you should be able to see the files in your shared folder location&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5433i055B4C2162BCE71D/image-size/original?v=v2&amp;amp;px=-1" alt="_7_compare_windows_view_of_shared_folder_with_UE_view.png" title="_7_compare_windows_view_of_shared_folder_with_UE_view.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that your shared folder location might not be the same as what is shown in my screen shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You CANNOT try to read COUNTRY.DAT until AFTER you have successfully run the program inside Task 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306390#M65503</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-21T17:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306400#M65505</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas﻿&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;ohhh I can now!!!!! Thanks for your patient with me!!!!&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>Fri, 21 Oct 2016 17:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/306400#M65505</guid>
      <dc:creator>beatraca</dc:creator>
      <dc:date>2016-10-21T17:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/466234#M118941</link>
      <description>&lt;P&gt;Hi Cynthia.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having the same error, but I have all the Orion files, but the file extensions are .sas7bdat instead of just .dat. How do I resolve this?&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 20:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/466234#M118941</guid>
      <dc:creator>egouws</dc:creator>
      <dc:date>2018-05-30T20:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/466290#M118960</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; The program inside the Programming 1 course creates a variety of files. What you see in your ORION library are the SAS7BDAT files -- those are SAS datasets. We also create several .DAT files and .CSV files, but you will NOT see those in the PROC CONTENTS output. Instead, you need to go to page 2 of &lt;U&gt;&lt;STRONG&gt;this&lt;/STRONG&gt; &lt;/U&gt;posting and look at #6 screen shot. In that screen shot, the Files and Folders list or Server Files and Folders list shows you ALL the files created and the PROC CONTENTS output shows you the SAS data sets that were created. I believe the date on that posting is 10-21-2016 at 01:32 PM -- look at screen shot #6.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;if you do NOT see files in your Files and Folders list, such as shown in my screen shot #6, then you need to rerun the setup program again.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 23:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/466290#M118960</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-05-30T23:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/469015#M119887</link>
      <description>&lt;P&gt;I do whatever you say at this topic but I still get 25 errors about the file does not exist.&lt;/P&gt;&lt;DIV class="sasSource"&gt;I work with ubuntu 16.04 lts&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;this is one of this error:&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;PRE&gt;9262 run;
9263 data _null_;
9264 infile datalines truncover length=length;
9265 input;
9266 file mydata(nonsales.csv) lrecl=256;
9267 put _infile_ $varying. length;
9268 datalines4;
 
ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/FILEPATH.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped proces&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-06-10 15-50-01.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21129iD9211DF65B8B6595/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2018-06-10 15-50-01.png" alt="Screenshot from 2018-06-10 15-50-01.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-06-10 15-56-21.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21130iE27941C9082E6CE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2018-06-10 15-56-21.png" alt="Screenshot from 2018-06-10 15-56-21.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-06-10 13-37-14.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21131i20AD11226942B2B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2018-06-10 13-37-14.png" alt="Screenshot from 2018-06-10 13-37-14.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 14:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/469015#M119887</guid>
      <dc:creator>tahoora</dc:creator>
      <dc:date>2018-06-10T14:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error activity</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/469034#M119895</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This %LET statement is incorrect:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="let_stmt_wrong.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21134i9BE5315BBE15160F/image-size/large?v=v2&amp;amp;px=999" role="button" title="let_stmt_wrong.png" alt="let_stmt_wrong.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please go back and look at my example posted as image #4, and as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="let_stmt_correct.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21136i8DDCAA92BA821D5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="let_stmt_correct.png" alt="let_stmt_correct.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You do not use the string FILEPATH in the %LET statement. That is incorrect, as shown in your screen shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You MUST use the path location to your data. Until you create the correct setup file statements, the data creation program will not be able to make the data correctly and any subsequent programs will not run correctly. We use the helper variable &amp;amp;PATH in all of our programs. For example, when you see something like this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;INFILE "&lt;FONT color="#FF0000"&gt;&amp;amp;path&lt;/FONT&gt;/sales.dat";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is because everybody will have a different location for the physical storage of their data files. Here are some examples of how you would specify the setup statements that MUST be in effect for our programs to work correctly, including the setup statements:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="correct_setup_statements.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21135iF42286C12E1B87C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="correct_setup_statements.png" alt="correct_setup_statements.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be OK to use the fully qualified value instead of using &amp;amp;PATH in the LIBNAME statement. But, you STILL need to specify the helper variable &amp;amp;PATH correctly. This would be acceptable (unnecessary, but acceptable) for all of the above statements:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="also_OK.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21137i653E0E5999636EAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="also_OK.png" alt="also_OK.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I explained, using this statement:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&lt;STRONG&gt;%let path=FILEPATH;&lt;/STRONG&gt;&lt;/FONT&gt; is incorrect. We intended for you to replace the string "FILEPATH" with YOUR location, as illustrated in my screen shots in the previous posting. It would be unlikely that your physical storage location for the data would be in a location called FILEPATH. Your location appears to be in this path:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;/folders/myfolders/sasuser.v94/ecprg193&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and if this is the case, when you right click on the ecprg193 folder and you see THIS path location for your folder, then your correct setup statements BEFORE you run the setup program would be:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="do_not_use_FILEPATH.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21138i2E3EB4077065DCB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="do_not_use_FILEPATH.png" alt="do_not_use_FILEPATH.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please correct your code and re-run the program from Task 2 again. Then save the statements as setup.sas or as a snippet, whichever you prefer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our code in the course expects that &amp;amp;PATH will be correctly assigned so that statements that reference that physical location will find the SAS datasets AND the flt files (the .dat and .csv) files that the data creation program creates. If &amp;amp;PATH is not correct when that program runs, then the flat files will not be created correctly the first time and the files will not be found with any FILE or INFILE statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fixing this issue is entirely in your control. My suggestion is that you revisit the screen shots that I posted and re-read the instructions to make the data again, keeping in mind that&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;%LET path=FILEPATH;&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;is model syntax that you are expected to change BEFORE you run the data creation program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 15:31:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-activity/m-p/469034#M119895</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-06-10T15:31:52Z</dc:date>
    </item>
  </channel>
</rss>

