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 (July 2001)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 10 Jul 2001 14:12:35 +0200
Reply-To:     Walter Van Riet <walter.van.riet@ROULARTA.BE>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Walter Van Riet <walter.van.riet@ROULARTA.BE>
Subject:      Re: recode
Comments: To: hmaletta@fibertel.com.ar
Content-Type: text/plain; charset="iso-8859-1"

Other solution if this variable is numeric:

Recode einddat (9999 = 1999) (else = copy).

Walter Van Riet Head of Research and Data Processing Roularta Media Group nv Research Park B-1731 Zellik Belgium

-----Original Message----- From: Hector Maletta [mailto:hmaletta@FIBERTEL.COM.AR] Sent: dinsdag 10 juli 2001 13:51 To: SPSSX-L@LISTSERV.UGA.EDU Subject:

If the field is numeric, then the correct command is: IF (einddat=9999)einddat=1999.

Hector Maletta Universidad del Salvador Buenos Aires, Argentina

Hans Munnik wrote: > > SPSS guru's > > I am using SPSS 10.0.7 now for a few months, and I can manage most things, > but.... > > in one of the variables there are a few errors, in fact there is entried > '9999' in stead of '1999' > the field is defined numeric and 8 long. > I tried the next line but get errors all the time, can someone help me > please ? > > if ((substr(einddat,1,4))='9999') ((substr(einddat,1,4))='1999'). > > tia > > kind regards, or in dutch: > > Met vriendelijke groet, > > Hans Munnik > ANWB/V&S/M&L/Marketing Intelligence


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