I have several old programs that we are trying to reorganize. One of the things that I am trying to do is see what they are all using as input and creating as output. Is there a way to get all of my source calls and macro calls to resolve from my calling SAS programs, without actually running the programs, so that I have some documentation available?
The question is different but looks like this one. https://communities.sas.com/communications.
My first thoughts would be using scaproc and run those as Linus did the proposal in that thread.
Analyzing programs without running those can be a hard challenge. SAS macro-s are possible change code.
Perhaps you can set all access on data/programs read-only and run the code with having obs=0 being set.
The code generation done as part of dataset content will be missed.
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.
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.