Date: Wed, 21 Jul 2010 10:15:50 -0500
Reply-To: "Marks, Jim" <Jim.Marks@lodgenet.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Marks, Jim" <Jim.Marks@lodgenet.com>
Subject: Re: SYSMIS
In-Reply-To: A<E44517773E26CD41B3A1E5F34EEEE309017A2CAB@llbbe1exch002.phbern.intra>
Content-Type: multipart/alternative;
The structure is
IF SYSMIS(number)...
For string variable
IF LEN(RTRIM(string) = 0...
SPSS strings are padded with blanks to fill the defined length: If a
variable is defined as A5, then the actual variables will be:
'i____' (4 space "characters" replaced with underscore)
'am___' (3 space "characters" replaced with underscore )
'ready' (0 space "characters" replaced with underscore )
Jim Marks
Director, Market Research
x1616
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of
Balmer Thomas
Sent: Wednesday, July 21, 2010 9:53 AM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: SYSMIS
Hello List
I'd like to compute a new variable funktion using IF-Commands. One
possible condition is, that the value is equal to System Missing.
IF(anstellungsgrad_lp = 0 OR anstellungsgrad_lp EQ Sysmis AND
anstellungsgrad_sl GT 0) funktion = 1.
PASW 18.0 doesn't accept this writing.Probably it won't help to treat
Sysmis as String like 'sysmis' because there's no string...
But there are cases with Sysmis in the variable anstellungsgrad_lp,
which I want to include. What can I do?
Thanks for any hint.
Tom
[text/html]