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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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