DATA Step, Macro, Functions and more

sas automatic compare

Reply
Super Contributor
Posts: 371

sas automatic compare

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

 

 

 

 

 

Super User
Posts: 5,441

Re: sas automatic compare

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

Data never sleeps
Ask a Question
Discussion stats
  • 1 reply
  • 138 views
  • 0 likes
  • 2 in conversation