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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.