BookmarkSubscribeRSS Feed
LineMoon
Lapis Lazuli | Level 10

I have  a sas tables in the sub-folders  like this .

====>> old

old/ F1

old/F2

old/F3

.....

....

......

old/Fn

 

=====>

new/ F1

new/F2

new/F3

....

....

....

new/Fn

 

I want to make an automatic compare for all the files  one by one

 

It means

compare new/F1/ t1 with  old/F1/ t1

               new/F1/ t2 with  old/F1/ t2

               .......................................

 

              new/Fi/ tj with  old/Fi/ tj

               ......................................

              new/Fn/ t2 with  old/Fn/ t2

 

Thank you

 

 

 

 

 

1 REPLY 1
LinusH
Tourmaline | Level 20

Use sashelp.vstable to build a call execute (proc compare).

Data never sleeps

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
  • 913 views
  • 0 likes
  • 2 in conversation