We have written SAS code for the particular analysis we use constantly for our work. It is now several years old and has evolved into a large group of macros called by parameters. We would like to document this code for new employees that must use and maintain this code into the future. Is there software that will read the SAS code and produce documentation that includes variable mapping, flowcharts, macro lists, etc?
In a word, no. For programs written manually there really is no such thing as an automatic documenting tool. If however you built your programs as an Enterprise Guide project, an Enterprise Miner project or similar the workflow diagram you constructed it with provides partial documentation.
So unfortunately you need to do the hard yards regarding documentation - DIY - been there, done that!
@AllenJ - Hmm - not sure where you are going with this question. I do a lot of documentation for the SAS applications where I work. This can range from a simple list of instructions on how to do a particular task up to epic-scale docs that explain how a set of business rules, including interpretation, were implemented. The purposes for SAS documentation can be many and varied so it is not a case of one size fits all.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.