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;
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.