Hi!
I'm brand new to SAS! I'm using SAS University Edition and I am struggling to get it to find myfolders - any thoughts on what I could be doing wrong? I have followed the steps listed in the SAS University Edition Help Centre on how to create a shared folder in VirtualBox - but I still can't find it in SAS. Any help would be greatly appreciated!
Thanks!
@BAC I think there's a misunderstanding.
You can use C drive but how you reference it is what matters. You need to use the shared folder paths and Unix notation. Everything else holds constant. The instructions provided will work fine on UE, change the oaths the myfolders structure and you'll be fine.
1. Move NHANES file to the shared myfolders you created.
2. Create a new permanent library in SAS UE using the cabinet icon in the Libraries pane. Use the point and click interface for this step since there's an option to click that adds library definition to your autiexec
3. The remaining instructions are valid, make sure to use the proper notation as indicated by Cynthia.
Same answer so far - screenshots?
My apologies! I thought I had uploaded them.
Hi Cynthia,
Thanks for your help. I now understand that I can't use a C: drive location, which I didn't before, so thank you! And I have realised the code I was using was wrong, so thank you again!
What I'm trying to do, is extract and copy NHANES data files to permanent libraries, and the code they have given me (below), I now realise I can't use because of what you have said.
************************************************************ * Program: C:\NHANES\DownloadData_Task3.sas * * Proposal: Read SAS Transport File and Create SAS Dataset * ***********************************************************; libname NH "C:\NHANES\DATA"; libname XP xport "C:\NHANES\TEMP\BPX_b.xpt"; /*please remember to change your library to the directory location you downloaded your files*/ proc copy in=XP out=NH; run;
I have attached the steps listed on how they recommend to do it, but I don't think these would work in SAS University Edition. Would you be able to offer some advice on how I could alter the code, to make it work for me?
Thank you so much!
@BAC I think there's a misunderstanding.
You can use C drive but how you reference it is what matters. You need to use the shared folder paths and Unix notation. Everything else holds constant. The instructions provided will work fine on UE, change the oaths the myfolders structure and you'll be fine.
1. Move NHANES file to the shared myfolders you created.
2. Create a new permanent library in SAS UE using the cabinet icon in the Libraries pane. Use the point and click interface for this step since there's an option to click that adds library definition to your autiexec
3. The remaining instructions are valid, make sure to use the proper notation as indicated by Cynthia.
Thank you!! @Reeza @Cynthia_sas
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.