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