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
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;
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,
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.