Thanks for the original question and answers. I had the same question. A while back someone told me to look at proc datasets for a way to add notes, but now I'm trying it and seeing that it's definitely much less than what Stata has. I found the SAS feature request board so I'll post it there. Thanks!
https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas
You can address this with the long neglected extended attributes, as in:
data class;
set sashelp.class;
run;
proc datasets library=work nolist;
modify class;
xattr add ds note='This is an example of an explanatory notes, which much more possibilities than a dataset label';
quit;
proc contents data=class;
run;
You can also assign extended attributes to individual variables.
Thanks!
Use extended attributes.
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.