BookmarkSubscribeRSS Feed
Alexsander
Fluorite | Level 6

Hi,

   We have hundreds of Base SAS codes, which uses SAS data steps, procedures and macros. We dont have any detailed document for the existing hundreds of the SAS codes. we want to document these SAS scripts functionalities with some pictorial representation.

 

My question is do we have any tools to do the SAS code analysis? The tool can be within SAS or outside the SAS components.

Please suggest. Thanking you.

 

Regards,

Alexsander S 

2 REPLIES 2
Reeza
Super User

PROC SCAPROC.

 

I've never seen a pictorial representation of a SAS Program, I'd be very curious to see what you come up with in the end 🙂

 

You can search LexJansen.com for further examples of using automated programs to scan/parse your programs but in the end, nothing can replace the human documentation that is required/should have been done in the first place. Most times you can't program your way out of bad processes. 

AlanC
Barite | Level 11
I have started work down this path using C# and a 3rd party tool. However, most of the code analysis is linear so I didn't go much beyond a tall flowchart.

I am not sure what you want to parse out. Contact me if more info is needed.
https://github.com/savian-net

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2266 views
  • 0 likes
  • 3 in conversation