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.
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!
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.