BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SasStatistics
Pyrite | Level 9

I have 3 scripts (programs) (for three seperate countries) that are very similar and I have written a macro function that will replace them. So, in a "Main program", the three scripts were previously included with the %include statement, now I will just call the macro function instead which makes things much easier and more tractable.

Each script produces six tables and so does my Macro. 

 
But, now when I have written the macro function, I must make sure that everything is right and would for instance like to run a seperate script (program) for a country and run my Macro for that specific country aswell and then compare that the six output tables are identical

How could I achieve this?

1 ACCEPTED SOLUTION
1 REPLY 1

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 326 views
  • 2 likes
  • 2 in conversation