Date: Fri, 16 Sep 2005 23:07:36 -0700
Reply-To: Michael Healy <healym@earthlink.net>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Michael Healy <healym@earthlink.net>
Subject: Matching question
In-Reply-To: <0741DA624F60AE43A659DD2264AA4A65053F37@ucsur-8.ucsur.nt.pitt.edu>
Content-type: text/plain; charset="US-ASCII"
Hi,
suppose I have two data sets.
Data set 1:
A B
999 998
Data set 2:
C D
9 8
7 8
6 7
How do I match the data sets so that I can get:
C D A B
9 8 999 998
7 8 999 998
6 7 999 998
I can do this with DO REPEAT/COMPUTE-LAG statements, but I'd like to do it
all in a MATCH FILES command.
Thanks, Mike Healy
|