Hi,
I am trying to import BRFSS dataset into SAS Studio. Since 2015 dataset is 1.17GB, I was not sure whether SAS Studio University would be able to take the dataset.
LIBNAME BRFSS '/folders/myfolders/BRFSS';
FILENAME IN1 '/folders/myfolders/BRFSS/LLCP2015.XPT ';
PROC XCOPY IN=IN1 OUT=BRFSS IMPORT;
RUN;
After tried several times, the physical file on my harddisk is 1.17GB locally but the size is 0 bytes in SAS Studio when I checked the properties.
Please advise me how to resolve this issue so that the data can be successfully loaded into the library. The Screenshots would provide additional information.
Thanks a lot!
Best,
R
Which file are you attempting to import?
Is the first block of code just an example you are following or what?
It looks like you may have accidently overwritten you file using it as the destination for something and need to get another copy of the original file.
Hi,
Sorry I did not enclose the correct code I want to use.
The actual screenshot after I ran the code is attached as follows:
and the code is
LIBNAME BRFSS'/folders/myfolders/BRFSS'; FILENAME IN1 '/folders/myfolders/BRFSS/LLCP2015.XPT'; PROC XCOPY IN=IN1 OUT=BRFSS IMPORT; RUN;
Hope that information helps you to offer support.
Best,
R
This is the file property I have in SAS Studio. I copied the file path via pulling out the property. However, interestingly, the size of my file is not correct. It should be 1.17GB instead of 0 bytes.
If you set up UE correctly, it should be /folders/myfolder (note the missing trailing s).
Your file type is ssp? What type of information are you expecting in that file. Not that google is always reliable but its indicating this would be an image file not a text or open file type.
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.