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 (October 2002)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 18 Oct 2002 07:28:37 -0400
Reply-To:     Raynald Levesque <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Raynald Levesque <>
Subject:      Re: query
In-Reply-To:  <>
Content-type: text/plain; charset=us-ascii


It does not matter that the variables are not in the same order.


DATA LIST LIST /var1 var2 var3. BEGIN DATA 1 2 3 1 2 3 1 2 3 END DATA. LIST. SAVE OUTFILE='c:\temp\file1.sav'.

DATA LIST LIST /var3 var1 var2. BEGIN DATA 3 1 2 3 1 2 3 1 2 END DATA. LIST.

ADD FILES FILE=* /FILE='c:\temp\file1.sav'. EXECUTE.


Raynald Levesque Visit my SPSS Pages

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of Muir Houston Sent: October 18, 2002 5:46 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: query

Hi all, first thanks to those who solved my simple problem - this one is a little more difficult - i have two datesets (c. 2,500 cases, 150+ variables) and i want to merge them - each case in each file is unique, but many of the variables are the same - problem is they are not in the same order - can i sort the order of them with a piece of syntax, or is a time consuimng cut and paste to get variables in same order?

thanks Muir

Legal disclaimer --------------------------

The information transmitted is the property of the University of Paisley and is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Statements and opinions expressed in this e-mail may not represent those of the company. Any review, retransmission, dissemination and other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender immediately and delete the material from any computer.


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