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 (April 2006)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 24 Apr 2006 00:00:30 -0400
Reply-To:   Richard Ristow <wrristow@mindspring.com>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   Richard Ristow <wrristow@mindspring.com>
Subject:   Re: DATASET duplicating, SPSS 14: Best practice?
In-Reply-To:   <E0428445172CB7469BF187FF4D00514902C052E5@CHIEMAIL1.spss.co m>
Content-Type:   text/plain; charset=us-ascii; format=flowed; x-avg-checked=avg-ok-24FC49EE

I'd asked,

>>I have a dataset named Thompson_exampledata. It is active. I want to >>make a copy of it in a new dataset named Thompson_exampledata. The >>following syntax seems to have worked: >> >>NEW FILE. >>DATASET NAME Thompson_ToWide. >>DATASET ACTIVATE Thompson_exampledata. >>DATASET COPY Thompson_ToWide. >>DATASET ACTIVATE Thompson_ToWide. >> >>It seems a little clumsy. Is there another, better way?

At 08:54 AM 4/22/2006, Oliver, Richard wrote:

>All you need is the last two commands in your example: > >dataset copy newdatasetname. /*make a copy of the active dataset. >dataset activate newdatasetname. /*activate the copy.

And Richard Oliver is quite right. What I'd missed is that

DATASET COPY <name>.

creates its destination dataset, if that does not exist. (And that is documented.)


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