Hi I came across the issue " ERROR: File PG2.STORM_SUMMARY_SMALL.DATA does not exist ". I am using SAS University Edition for Academics. I am pretty sure I downloaded the file and extracted the data correctly because I am able to find PG2 library and but there is nothing inside it. I am able to perform other tasks. To double check, I went through the video, and I did exact the same thing as shown in the video. However, when I ran the code, it still says "file does not exist". I got some confused. Could you please help me?
There are different setup procedures for the different possible SAS platforms (University Edition in a VM, On Demand for Academics, licensed SAS local with Display Manager or Enterprise Guide, licensed SAS client/server with Enterprise Guide or SAS Studio). The relevant procedure must be done BY THE LETTER.
For ODA, you have to download the package, extract it, and upload it to the cloud server via SAS Studio. Or upload first and extract on the ODA server.
How do you set the libname PG2?
I didn't set the name PG2 it was already there (I am going through SAS Programming 2: Data Manipulation Techniques), I just changed the path and copied the path of the data folder and still I got the same error. When you download the file from the link they have specifically mentioned that just change the path and do not edit any other thing. While completing SAS Programming 1: Essentials, there were datasets already present in the data file but if we extract the file for SAS Programming 2: Data Manipulation there are no datasets inside the data folder (only 2 files are present pg2 and readme).
In SAS Studio on ODA, look into your Folders to the left and find the directory where storm_summary_small.sas7bdat resides. Right-click on the directory where the file is and use that in the LIBNAME statement for PG2.
Also make sure that the whole filename is in lowercase.
Thanks for the solution. I got my files running.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.
Find more tutorials on the SAS Users YouTube channel.