BookmarkSubscribeRSS Feed
rtomiak
Calcite | Level 5

Hi! I'm on Lesson 2 of the SAS Essentials course. In "Demo: Exploring Course Libraries" I realized that I was creating library references that appeared in the library tab, but they aren't saving any tables/data, and I can't save any data to them without getting error messages. I double-checked that my code is correct and I'm saving it with the right file paths, .sas, and referencing the right data, but nothing seems to be working.

I used this code: libname pg1 "/home/u60722693/EPG1V2"; and double-checked that I got the location right. I run the code, no errors, but then the library PG1 doesn't have any tables in it. I have this problem again during the demo section called "Exploring SAS Automatic Libraries" where I successfully create the library reference OUT, but then when I try to save data tables to it, I get error messages. Please help!

2 REPLIES 2
CarmineVerrell
SAS Employee

can you please include the log

tom_grant
SAS Super FREQ
So did you upload the createdataPG1v2_oda.sas program to your EPG1V2 folder? You should be able to run that program & it will create the subfolders & create the data. The data will actually be in a subfolder /home/u60722693/EPG1V2/data & that is where you should assign the library PG1

libname pg1 "/home/u60722693/EPG1V2/data";
or you can use:
libname pg1 "~/EPG1V2/data";
~ will point to your user folder (i.e. /home/u60722693/)