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 (November 2001)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 28 Nov 2001 17:40:00 -0500
Reply-To:   Jessica Kenty <jkenty@LYNX.DAC.NEU.EDU>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   Jessica Kenty <jkenty@LYNX.DAC.NEU.EDU>
Subject:   IF SYSMIS...
In-Reply-To:   <5.1.0.14.2.20011128162425.062d6ec0@postoffice.brown.edu>
Content-Type:   text/plain; charset="iso-8859-1"

Hi all,

I am trying to compute a variable using a series of IF statements. I want to include a statement with this basic structure:

COMPUTE Y=0. IF (X=SYSMIS) Y=1. EXECUTE.

My actual code is a little more complex, but this is the basic premise. Problem is, I find that the SYSMIS is not recognized as a valid form of syntax to use in IF statements. Instead, it is recognized as a possible variable name. Does anyone know how to resolve this problem and have SYSMIS recognized as a value of variable X instead of a variable in itself?

Thanks in advance.

Jessica ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jessica Kenty Research Assistant Assets & Educational Inequality Project Northeastern University Boston, MA


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