BookmarkSubscribeRSS Feed
KDLiwen
Calcite | Level 5

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?

1 REPLY 1
jakarman
Barite | Level 11

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.    

---->-- ja karman --<-----

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 704 views
  • 0 likes
  • 2 in conversation