LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 12 Jul 2006 18:16:16 -0500
Reply-To:     Pavlo Row <pavlo@INORBIT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Pavlo Row <pavlo@INORBIT.COM>
Subject:      Compare two data sets
Content-Type: text/plain; charset="iso-8859-1"

Hello All,

I have two data sets call them A and B. Both of them have the same exact field names:

A income 3456 state CA zip 02345 score 34AC5

B income 1234 state CA zip 02345 score 34AC6

A has about 15 such fields but 2.5 million records. Same with B.

I wish to compare the values in the two data sets to make sure they agree.

For example, income in A and B don't agree. Flag this somehow with a FLAG = 1 or something like this. For example, state in A and B do agree. Flag this somehow with a FLAG = 0 or something like this.

How can I(efficiently) do this using SAS V8.2 or V9.

pavlo

-- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/


Back to: Top of message | Previous page | Main SAS-L page