I have uploaded a .sas7bdat file to SAS Studio and the file's path is /home/u63582165/abg_vbg_f23.sas7bdat (found it through file properties).
But when I run proc print data, it shows the table but it's null.
Here's the log:
and the result
Thanks,
Gwyneth
You don't use FILENAME and INPUT with SAS datasets as SAS already knows how to read them. This should work:
proc print data = '/home/u63582165/abg_vbg_f23.sas7bdat';
run;
You can also define a SAS LIBNAME pointing at SAS datasets in a folder:
libname MyData "/home/u63582165";
proc print data = MyData.abg_vgb_f23;
run;
Thank you for your help !
Hi @mgwynethj,
Welcome to the forums, I hope you continue to have a good experience.
Please note that when a person provides a working answer then marking their post as the solution gives them the credit for their effort, which would be @SASKiwi in this case. You might be able to change which post you have marked as the solution, and it is also good to know for the future.
Thanks & kind regards,
Amir.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.