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 2007)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 23 Oct 2007 12:13:06 -0400
Reply-To:     "Lacay, Phebe" <placay@raritanval.edu>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Lacay, Phebe" <placay@raritanval.edu>
Subject:      IF THEN
Content-Type: text/plain; charset="us-ascii"

Hi all,

It's me again.

I am trying to do a recode. I am not sure if I should be doing a DO IF??

Any suggestions?

(all are string)

If CNTY=missing or '999' and STATE= '99' then CNTY='00'

If CNTY=missing or '999' and STATE='34' then CNTY='88

If CNTY=missing or '999' and STATE~='34' then CNTY='99'

Thanks,

Phebe

====================To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


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