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 (September 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 13 Sep 2010 11:10:55 -0400
Reply-To:     Gene Maguin <emaguin@buffalo.edu>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Gene Maguin <emaguin@buffalo.edu>
Subject:      Re: Merge problems
In-Reply-To:  <040101cb5352$0614ef10$123ecd30$@com>
Content-Type: text/plain; charset="us-ascii"

Mike,

I don't know why you having the troubles you are having. I'd like to suggest a different tack on the problem. You said 'There is a subset of variables in the latest working file (that has been modified through coding/recoding and labeling) that is also in the other file.' Let's call this fileA. You continue 'The other file is an earlier version with a few additional variables that were dropped inadvertently from the working file when some operations - primarily SAVE with a different order - were done.' Let's call this fileB. As I understand you, you want to drop some variable from fileA and add those variables back from in from fileB. Looking at the syntax in your first post it seemed that there were variable name change issues but that wasn't so clear to me. This is clunky, not svelte at all. But, so what.

Get file=fileB/keep=id x1 to x23/rename (x1 to x23=y1 to y23). Save outfile=fileB1. Get file=fileA/drop=y1 to y23. Match files file=*/file=fileB1/by id.

I noticed that in your posted syntax you had no 'by' subcommand. Perhaps that was omitted for clarity.

Gene Maguin

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Mike Pritchard Sent: Monday, September 13, 2010 10:43 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: Merge problems

Sorry for my lack of clarity. There is a subset of variables in the latest working file (that has been modified through coding/recoding and labeling) that is also in the other file. The other file is an earlier version with a few additional variables that were dropped inadvertently from the working file when some operations - primarily SAVE with a different order - were done. So I needed to recover these variables.

I don't think UPDATE would work in this case, and there is no need to rename as the variables are not duplicates.

Thanks for your help. Mike

===================== 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 SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

===================== 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 SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


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