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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 960 views
  • 0 likes
  • 2 in conversation