BookmarkSubscribeRSS Feed
KalaBhairava
Quartz | Level 8

I want to create tracker with list of Programs names , output names, date and author with few other information in sas folder by using SAS program, do we have any macro to create it.

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

You probably need to have some conformity in your programs before you think of doing that, such as standard program headers.

 

As for outputs (and inputs), if they are not described in the header but to be derived from the code, you need to think about parsing programs that contains macro code.

The easiest (only?) way is to parse logs rather than programs, with options such as MPRINT turned on.

 

Also have a look at PROC SCAPROC.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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