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

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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