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 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 11 Oct 2005 10:10:53 -0400
Reply-To:     Art@DrKendall.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject:      Re: Very simple question : Add a calculated var on a new .sav
Comments: To: Nicolas LEBLANC <nleblanc@tereo-int.com>
In-Reply-To:  <200510111337.j9BDbCg22837@mailgate3.ornis.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed

If you are a beginner, you may not want to start with scripts. First get syntax under your belt.

It is a good idea to never write over previous files. That way when you go back to refine the process you the required info will be there.

Something like this sounds like what you are saying. get file='d:\project\mydata.sav'. do some transforms etc. numeric reponse (f2). compute reponse= . . . . . . * once you do any procedure the variables created by the transformations section will be in your active file. save outfile = 'd:\project\mydata2.sav' /rename(reponse = test).

Art Art@DrKendall.org Social Research Consultants Inside the Washington, DC beltway. (301) 864-5570

Nicolas LEBLANC wrote:

>Hi all, > >I'm wrinting a script who run on mydata.sav. >For each rows, I calculate a interger variable (called 'reponse' ) and I >want to add it on a temp.sav file, in "test" column. > >In fact, it's like the calculate option, but instead of recording on the >same file, I want to add it in "test" column in temp.sav file > >I'm a real beginner in SPPS, that's why I'd suscribe on this mailing list. > >Thanks all. > > >Nicolas LEBLANC - Informaticien >TEREO >256, avenue Eugène Avinée >59120 LOOS >FRANCE >03.28.16.02.80 > > > > >


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