BookmarkSubscribeRSS Feed
jnunesnew
Fluorite | Level 6
Comparing 2 libraries (e.g May vs April) to see if customer ID does not longer exists in the following month ...any SAS code to compare
3 REPLIES 3
Kurt_Bremser
Super User

Do you want to compare libraries or datasets? If you want to compare libraries, do you need to compare certain datasets within the libraries, or all datasets with their respective counterparts?

jnunesnew
Fluorite | Level 6
Hi Kurt many thanks for your response.... We have 2 libraries one for April 20 and the other May20 (with a lot of columns of information) .... we have data for customers in April 20 that no longer exists in May 20... we want to have a sas code to join both libraries and get what customers ID not longer exists in the library of May 20 many thanks for your help.
Kurt_Bremser
Super User

Please supply the library names (ideally by posting the relevant LIBNAME statements), and the names of the datasets within those libraries (use PROC DATASETS to list the libraries).

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 714 views
  • 0 likes
  • 2 in conversation