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.
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.