So my code looks something like:
Libraries are directories containing datasets, catalogs, views. SAS datasets are files with extension .sas7bdat.
So your statement has to be
libname AEData "/home/u60650811/MYSAS";
after which you can access your dataset as aedata.db1.
You pointe the libref at a file instead of directory. Since a file is NOT a directory it is the wrong format.
Either point the libref at the directory that contains the file and use a two level name when access the dataset.
libname AEData "/home/u60650811/MYSAS" access=readonly;
proc contents data=aedata.db1 ;
run;
Or use the quoted physical filename to reference that dataset directly.
proc contents data="/home/u60650811/MYSAS/db1.sas7bdat";
run;
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.