BookmarkSubscribeRSS Feed
SaintRegent
Calcite | Level 5
Hi there,

I am pretty new to SAS so this may be a daft query. I am working my way through some course material on EG and have been happily opening and maniupulating the supplied datasets in my own projects.

The problem is when I open one of the readymade supplied projects, the datasets in the project flow point to the WORK library e.g. WORK.MNTH8_2007.

The work library is essentially empty so I get an error when I try to open them.

I do have these datasets (e.g. MNTH8_2007) in a folder on my own drive but am unsure how to utilise them in this scenario.

Regards,

John
1 REPLY 1
SPR
Quartz | Level 8 SPR
Quartz | Level 8
Hello Saint Regent,

You can simply copy the dataset to work library like this:
[pre]
libname my 'C:\MyLib';
data MNTH8_2007;
set my.MNTH8_2007;
run;
[/pre]
where C:\MyLib is a folder on your drive contaning the dataset.

Sincerely,
SPR

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 1268 views
  • 0 likes
  • 2 in conversation