At 05:28 PM 9/18/2010, J McClure wrote:
>I have a primary dataset with 150 variables. I have a second dataset
>with only 3 variables (VetGoal_1 VetGoal_2, and VetGoal_3) that are
>not in the primary dataset. I want to add the 3 variables to my
>primary dataset. The problem is that the second dataset has about
>900 cases. The primary dataset has a subset of 482 of the 900 cases.
If you have a key variable that appears in both datasets and
identifies corresponding records, it's an easy MATCH FILES; see
several recent posted examples. If you don't, you're close to out of luck.
(ALWAYS have enough identifying variables to uniquely identify every
record in your data file.)
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD