BookmarkSubscribeRSS Feed
HeatherNewton
Quartz | Level 8

HiI have 40 sas programs and over 100 input and output sas data sets (as source and output). What is a good way to present these relationships? I find it daunting to keep using search function to know what is input and output of each sas programs. Is there any free tools output I can easily represent may be in a diagram or flowchart? what would an expert do here to easily understand the relationship?

3 REPLIES 3
ballardw
Super User

You likely have access to SAS Enterprise Guide even if not using it.

You would have to create project(s) and build the relationships between the program and sets.

 

Or if you have SAS/Graph you may have the Network Visualization Workshop available, check your online documentation.

You would build  data sets to indicate what you need as node and links

Patrick
Opal | Level 21

I've never seen a satisfying solution for SAS code when it comes to column level data lineage. Anything I've seen required a lot (and I mean A LOT) of work for creation and ongoing maintenance. 

For only a 100 programs and table level lineage things might be manageable though. 

There are data lineage tools but they all require metadata. If you're using SAS DI Studio then such metadata would exist - but else it likely doesn't. 

I have also seen attempts to create such mappings by scanning SAS logs - but with SAS allowing for dynamic code using macros this was never 100% correct and always required manual checks and corrections. 

 

Just for documentation purposes what you could be doing is to create a matrix. Something like:

Patrick_0-1690622058258.png

I:    Input

O: Output

 

...but of course like for any documentation it then also requires maintenance whenever you change a program. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 425 views
  • 0 likes
  • 4 in conversation