BookmarkSubscribeRSS Feed
adzoyi
Calcite | Level 5

I am using SAS Studio. I successfully assigned my libname and I received the message:

Engine V 9,

Physical name:C:\EPG 194.

 

But when I run the procedure code below, I get error message. What could be going wrong please.

 

proc print data=pg1.np_summary(obs=20);
    var Reg Type ParkName DayVisits TentCampers RVCampers;
run;

3 REPLIES 3
PaigeMiller
Diamond | Level 26

The data set you are trying to use does not exist (in that folder). So you can't use it, and an error message is created.

--
Paige Miller
ballardw
Super User

The second table in this output should list all of the data sets in the library:

proc contents data=pg1._all_ directory ;
run;

It may be that you pointed the LIBNAME statement to an incorrect path. The first table will show the path to the library.

Kurt_Bremser
Super User

From where do you infer that the dataset should be there? Did you create it yourself through code, or is it part of the package of example data for the course?

Inspect the directory with Windows Explorer to check if a file np_summary.sas7bdat exists, and that its filename is all lowercase.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1150 views
  • 0 likes
  • 4 in conversation