Hello team,
I am learning SAS. I have created a library, I can't find where the physical location of the this library/ folder is.
Regards,
GN
Hi:
The name ECPRG193 is the folder name we used at least 3 years ago. I am not sure how you are still getting that folder name when we no longer have that e-learning class on our system. What you needed to do for your libname statement program was this:
%let path=/folders/myfolders/ecprg193;
libname orion "/folders/myfolders/ecprg193";
or
%let path=/folders/myfolders/ecprg193;
libname orion "&path";
You needed to have the helper macro variable &PATH in place and defined because many of our programs used &PATH in the program.
However, we no longer use the ORION data in our current classes and as far as I know, there are no elearning classes that reference that older data.
So I am concerned that you are following the wrong instructions and taking the wrong class. My suggestion is that you send mail to elearn@sas.com from the email address that you're using for e-learning so they can check how you have access to such an old class and so they can correct the problem and make sure you get access to the most current class.
That older class is not in sync with the newest Certification exam.
Cynthia
PS... If you have a folder in SAS University Edition, left over from taking the Programming 1 course before, please DELETE that folder. Before you email us, please go back into the e-learning course and double check the instructions under #2 as shown below:
You should be seeing that you have to make a folder name of EPG1V2:
You CANNOT use the older data with the newer course -- nothing with match up. Please do NOT use any data from an older version of Programming 1.
Hello Reeza,
Thanks for replying!
I am following Little SAS Book which was introduced by you in 2018 or probably in 2019 to learn SAS for job finding.
The books says create a lib. That goes through wizard or shortcuts and no code for now.
I am trying to find out where lib/ file located, I can't find it.
This is what I get when I go to property:
Name:BIKES
Library paths, engines, and LIBNAME options:
|
In fact, when I go to the folders:
/folders/myfolders/sasuser.v94, there is nothing by Bikes.
Or when I go to: C:\Users\*****\Documents\SASUniversityEdition\MyFolder
Or When I go to: C:\My Folder where I originally selecting the folder deliberately when I was installing SAS.
Respectfully,
GN
Hello all,
I have done the training. I am reviewing it by following the Little SAS Book. Or, I wouldn't be able to start. I went to each location, I couldn't find the lib bike created on SAS studio.
I created a physical location, I put a data set there and then I want to import to SAS to be able to continue.
Thanks for your help,
GN
I have not looked at either of those books, but I suspect that for either you will need to adapt the examples to fit YOUR environment. You cannot literally do exactly what either one says.
If your question is what files and folders you have available to you in your SAS session when using SAS/Studio then use the "Server Files and Folders" area of the interface and look for yourself. Find the folder you want to use and select properties to see the name for that folder that you need to use in your SAS code. You can copy the path listed as the LOCATION and use it in your code. (My paths will look different from yours since I am using SAS/Studio with a real Unix machine and not the virtual machine that SAS University Edition uses.)
To use the path you have found to assign a libref you can either write and run a LIBNAME statement or use the New Library button under the "Libraries" area to do it for you.
One of you messages mentioned using SASUSER to store files. I generally prefer NOT to do that since that can cause trouble when working in multi-user environments. It also might be an issue with SAS University Edition as I am not sure that it points to an area where you can write things. I suspect that instructions that use that libref in their example code do so because they can skip the need to teach you how to create your own libref. Just adjust the example in the code to reflect the libref that you create.
Hi: If you are using SAS University Edition in a Virtual Machine (this is what you use if you need to start Virtual Box or VMWare Player) before SAS Studio opens, then your physical operating system location is the location you defined as your Shared Folder location in the last step of setting up SAS University Edition.
For example, on my machine, the physical location of my shared folder location on Windows is:
c:\SASUniversityEdition\myfolders
So If I have THIS physical file in my shared folder location, the physical path for the file would be:
c:\SASUniversityEdition\myfolders\somedata.csv -- However, the path name INSIDE University Edition would NOT use the C: drive location. The path inside University Edition would be:
/folder/myfolders/somedata.csv
Because, the shared folder location is a Unix path location, NOT a Windows path location and /folders/myfolders is the root or "home" path for SAS University Edition shared folders.
On the other hand, if I make a subfolder on the Windows side (or using SAS Studio) and have SAS data in that subfolder, like this:
c:\SASUniversityEdition\myfolders\mydata\myclass.sas7bdat
c:\SASUniversityEdition\myfolders\mydata\acct.sas7bdat
c:\SASUniversityEdition\myfolders\mydata\shoesales.sas7bdat
Then, I would issue a LIBNAME statement like this:
libname mystuff '/folders/myfolders/mydata';
proc print data=mystuff.shoesales;
run;
proc print data=mystuff.myclass;
run;
proc print data=mystuff.acct;
run;
We offer a free Programming 1 course that explains about how to use LIBNAME statements and we have specific instructions for using SAS Studio with SAS University Edition and SAS OnDemand for Academics.
If you are using SAS Enterprise Guide, then you might need to speak with your SAS Administrator for more help. Frequently, Enterprise Guide users are working with server files and you'll need to be sure you have the right physical path for your session of EG. Your SAS Administrator can help you with that.
Cynthia
Hello Cynthia,
I am an individual learning SAS. I don't have a SAS administrator.
I went to physical location, but I couldn't find the lib that I created in SAS Studio.
Thanks for the help and code.
Respectfully,
GN
Hi Cynthia,
This is what I have done my training on:
Essentials e-course. In this course, you'll write SAS programs to
access, manage, and analyze your data, and present the results in reports. You'll read data that resides in
SAS data sets, Microsoft Excel spreadsheets, and raw data files. You'll write programs to create new SAS
data sets, and organize the data sets using SAS libraries. You'll learn techniques for managing data, such
as creating, combining and sorting SAS data sets, and for manipulating data. You'll also learn how to
present your data by creating detail and summary reports. Lastly, you'll learn to analyze your data and
produce frequency and descriptive statistics
Can you please guide me where I need to go?
Regards,
GN
Hi:
Follow these steps:
1 --Go to the Course Overview and Data Setup section of Programming 1
2 -- Find your method of using SAS. Based on a screen shot you posted elsewhere, it looks like you use localhost:10080 to access SAS Studio. That means you are using SAS University Edition
3 -- Open the instructions for YOUR method of using SAS -- for you, that means clicking on the SAS University Edition instructions
4 -- Look in the instructions at the name of the folder you are creating for class. There are 2 possibilities: 1) EPG1V2 or 2) PG194.
5 -- Go here: https://communities.sas.com/t5/SAS-Communities-Library/Creating-Data-for-Programming-1-and-Programmi...
6 -- Read the beginning information
7 -- Find the right orange button and click it. There are 2 orange buttons: 1) EPG1V2 or 2) PG194.
8 -- Find the video for your method of using SAS. Watch the video. Reread the instructions. Watch the video again. Now, go back the instructions and follow them, step by step. Do ALL the steps.
9 -- At the end of this, you should have a folder called EPG1V2 (or EPG194) in your shared folder location and you should be able to see the files that were created AFTER you followed all the steps in the instructions.
Hope this helps,
Cynthia
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.