Date: Fri, 17 Sep 2010 04:55:56 -0700
Reply-To: Bruce Weaver <firstname.lastname@example.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Bruce Weaver <email@example.com>
Subject: Re: combining two datasets
Content-Type: text/plain; charset=us-ascii
John F Hall wrote:
> Help > Command syntax reference:
> Check out MATCH FILES in the manual.
> Open one file to display the data editor (this will be the open file * in
> the syntax below). If you have a recent release of SPSS, open the second
> file as well.
> Click File > New > syntax to open a new syntax editor and write something
> match files file = * / file = <file2.sav> /by <household> .
> You need to specify the full pathway for file2 if you can't have more than
> one file open. This syntax will pick up variables from the first file
> named, plus any different ones from the second file. The default is all
> variables. If you only want certain ones you need to use the sub-command
> /KEEP <your varlist>.
> John Hall
For some examples of what John describes here, see the "Merging (MATCH
merging) SPSS data files" tutorial found on this page:
"When all else fails, RTFM."
NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/combining-two-datasets-tp2843384p2843587.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command