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 (March 2009)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 25 Mar 2009 04:51:47 -0400
Reply-To:     Clive Downs <clive.downs@READING.GOV.UK>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Clive Downs <clive.downs@READING.GOV.UK>
Subject:      Re: Comparing data in two files
Comments: To: Paul Sillitoe <paul@SILLITOE-UK.NET>

Hi Paul

I had the same question recently and Jon Peck answered (on-list)as follows below. I used the COMPDS extension command and found it works fine. You will need the Python plug-ins. I hope Jon won't mind me copying his message! Regards,

Clive.

------------------

If you have Version 17, you can use the SPSSINC COMPARE DATASETS extension command. If you have Version 16, you can use the COMPDS extension command, which is similar but lacks a few features and does not have a dialog box interface.

These can be downloaded from SPSS Developer Central (www.spss.com/devcentral). They require the Python programmability plug- in. Installation instructions are in the download.

The commands can compare the variable dictionaries and/or the cases in two datasets (you must open the data files and name them in SPSS before calling either of these commands). I must warn you that these commands are slow with wide datasets, so be patient. We are working on improving performance in the underlying Dataset class used by these commands.

HTH, Jon Peck

On Tue, 24 Mar 2009 21:36:20 -0000, Paul Sillitoe <paul@sillitoe-uk.net> wrote:

>In SPSS v16 Base System, I have purportedly identical variables and data in >two large data files (36 variables, 400 cases). > > > >I need to compare the two files, to ensure that the data are identical. > > > >(I won't go into the reasons why, I just need to do it!) > > > >I can't find a way in the Help menus or hard copy guides that I have, to >compare the two files and flag up any data differences. > > > >I've tried it with DEB, but there are some other issues doing it that way. > > > >I'm pretty new to SPSS, have not grasped syntax or working beyond the >basics, but am very IT literate. > > > >I'd be very grateful for advice - I assume that this simple procedure is >possible. > > > >Thank you > > > >Paul Sillitoe > >

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