proc contents data="/folders/myfolders/epg194/data/storm_summary.sas7dat";
I am encountering this error, could you please lead me to the right direction:
For proc contents you need to supply a sas dataset name in a form of libname,dsname.
Try next code:
libname mydata "/folders/myfolders/epg194/data";
proc contents data=mydata.storm_summary; run;
The extension used by SAS for datasets is sas7bdat. You did not include the letter b. Is your file misnamed or is it just a typo in the program?
My apology, I skipped the setup instructions on the training lessons, thanks for your support. It is working now.
You also can use the next :
%let path = /folders/myfolders/epg194/data/
proc contents data= "&path/storm_summary";
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.