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 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 22 Oct 2003 14:40:20 -0700
Reply-To:     Prasad S Ravi <prasad.s.ravi@HOUSEHOLD.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Prasad S Ravi <prasad.s.ravi@HOUSEHOLD.COM>
Subject:      Re: if str_mo not in ('','.') and str_da not in ('','.') and
              str_yy not in ('','.') Any shorter ?
Comments: To: Igor Kurbeko <ikurbeko@ATHEROGENICS.COM>
Content-type: text/plain; charset=us-ascii

OR

you could use ARRAY

data new; set old; array igor $ (*) str_mo str_da str_yr; do over igor; if igor ~in (' ','.') then do;

end; run;

Prasad Ravi

Igor Kurbeko <ikurbeko@ATHEROGENIC To: SAS-L@LISTSERV.UGA.EDU S.COM> cc: Sent by: "SAS(r) Subject: if str_mo not in ('','.') and str_da not in ('','.') and str_yy Discussion" not in ('','.') Any shorter ? <SAS-L@LISTSERV.UGA.E DU>

10/22/2003 02:13 PM Please respond to Igor Kurbeko

Hi, there.

I'm just curious if it ever dawned on anybody how to abbreviate this line :

if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.')

Igor Kurbeko

Clinical Programmer Analyst

678 336 4328

ikurbeko@atherogenics.com

no brain no pain


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