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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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