Hi there. I'm teaching myself SAS using Learning SAS by Example a Programmer's Guide by Ron Cody.
I am in chapter 7 solving the problems. My question is where I can find (download if possible) the following SAS data sets?
1) Hosp
2) Sales
3) Blood
4) Bicycle
I tried library sashelp but they are not there.
Any help will be appreciated.
Thank you,
TonyJr
Hi,
Go to this website: https://support.sas.com/en/books/authors/ron-cody.html and scroll to the version of the book you have. There will be a link that you can use to get to a zip file that contains the data.
Hope this helps!
Hi,
Go to this website: https://support.sas.com/en/books/authors/ron-cody.html and scroll to the version of the book you have. There will be a link that you can use to get to a zip file that contains the data.
Hope this helps!
Thank you very much Cynthia for let me know.
Thank you very much for the quick response. I found the files. Now ready to keep going with my self teaching.
Hi:
Suggest you read the Instructions.docx document in the zip file, as shown below:
When I review the Create_Datasets.sas program, I see the code to create several datasets with HOSP in the name. And, when I change the LIBNAME statement at the top of the Create_Datasets.sas program and then run the program, as instructed, I get ALL the datasets that he uses in the book. What is in the zip file is NOT everything you need. All the SAS datasets are created when you run the creation program. Without this setup, you won't have any of the SAS datasets.
Cynthia
If it is the same problem, the same solution will work. If the solution does not work, you have a different problem, in which case it is best to start a new topic in the "New User" section where you describe your issue in detail.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.