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 <rlevesque@videotron.ca>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Raynald Levesque <rlevesque@videotron.ca>
Subject:      Re: query
In-Reply-To:  <sdafe65d.084@nis-webaccess.paisley.ac.uk>
Content-type: text/plain; charset=us-ascii

Hi

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

Example:

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.

HTH

Raynald Levesque rlevesque@videotron.ca Visit my SPSS Pages http://pages.infinit.net/rlevesqu/index.htm

-----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

http://conted.paisley.ac.uk/resources_1.htm

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