Date: Thu, 31 Aug 2006 18:11:52 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: help using formats
Content-Type: text/plain; format=flowed
Yes there is:
roc Format ;
1 = 'Male'
2 = 'Female'
Data Have ;
Format Sex Sex. ;
Sex = 1 ;
Sex = 2 ;
Data Need ;
Set Have ;
If VValue( Sex ) = 'Male' Then Do ;
Text = 'Its A Boy ' ;
Else Do ;
Text = 'Its A Girl' ;
Data = Need ;
When everything is coming at you all at once, your in the wrong lane.
A truly happy person is someone who can smile and enjoy the scenery on a
From: Meg <napu1975@HOTMAIL.COM>
Reply-To: Meg <napu1975@HOTMAIL.COM>
Subject: help using formats
Date: Thu, 31 Aug 2006 11:03:19 -0700
Is there a way for me to ID numeric variables by its format in a data
example 1=male 2=female
is there a way I could do something like this
If gender ='Male' then ...
else if gender= "female"
Is there special syntax that would allow that kind of programming with