- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using SAS Studio and on lesson 2 of SAS programming 1: Essentials, I tried running the demo p101d01.sas, however in the Log I receive an ERROR: Library Out does not exist. Below is the lesson 2 program which is a demo I did not create. I am currently on lesson 4 (and was referring back to lesson 2 for help) and receiving the same error message while performing the first activity of the lesson.
*Modify the path if necessary;
libname out "s:/workshop/output";
data class_copy1 out.class_copy2;
set sashelp.class;
run;
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
If you are using Programming 1, we make an OUTPUT folder under the EPG194 main folder for the class. So here are some sample LIBNAME statements depending on how you are using SAS:
libname out "/folders/myfolders/EPG194/output"; /* SAS University Edition in a Virtual Machine */
libname out "/home/<userID>/EPG194/output"; /* SAS OnDemand for Academics account */
libname out "&path"; /* SAS Enterprise Guide when following the instructions in the course to use &PATH */
libname out "c:\SAS_Class\EPG194\output"; /* on a local Windows install using Display Manger or SAS Studio */
If you followed the setup instructions, please look for your output folder under the EPG194 main folder. If you do NOT have an output folder, please go back to the Course Overview and Data Setup instructions and follow them again. After the programs run, you should have an output folder.
In the video, the instructor is using an S: drive location because she is working in a classroom lab environment that has an S:\workshop folder set up for the class. You probably don't have this type of classroom image.
Hope this helps,
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
In this code:
74 libname out "s:/workshop/output"
SAS expects to find 1) a drive named S , do you have one? If not change the drive letter to a drive that you have.
2) That the the drive has a folder named Workshop. Do you have such a folder? If not create it using operation system tools
3) Workshop folder should also have a folder named Output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
If you are using Programming 1, we make an OUTPUT folder under the EPG194 main folder for the class. So here are some sample LIBNAME statements depending on how you are using SAS:
libname out "/folders/myfolders/EPG194/output"; /* SAS University Edition in a Virtual Machine */
libname out "/home/<userID>/EPG194/output"; /* SAS OnDemand for Academics account */
libname out "&path"; /* SAS Enterprise Guide when following the instructions in the course to use &PATH */
libname out "c:\SAS_Class\EPG194\output"; /* on a local Windows install using Display Manger or SAS Studio */
If you followed the setup instructions, please look for your output folder under the EPG194 main folder. If you do NOT have an output folder, please go back to the Course Overview and Data Setup instructions and follow them again. After the programs run, you should have an output folder.
In the video, the instructor is using an S: drive location because she is working in a classroom lab environment that has an S:\workshop folder set up for the class. You probably don't have this type of classroom image.
Hope this helps,
Cynthia