Date: Wed, 12 Sep 2007 08:45:22 -0400
Reply-To: "Sridhar, Nagakumar" <nagakumar.sridhar@SPCORP.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Sridhar, Nagakumar" <nagakumar.sridhar@SPCORP.COM>
Subject: A data step question
Content-Type: text/plain; charset="us-ascii"
Hi All:
I have a dataset (a sample can be found below) from which I need
to get only those subjects who had an FBS value greater than 11. If you
observe, only those subjects have an HBSA1C associated that have an FBS
value greater than 11. I need to capture those subjects who had an FBS
greater than 11 and an HBSA1C greater
than 8.5
data have;
input id $3. parm $6. absrslt 4.;
cards;
101FBS 10.1
102FBS 13.3
102HBSA1C 9.1
103FBS 11.9
103HBSA1C 7.2
;
run;
Any help is always greatly appreciated.
Thanks and regards
Kumar
*********************************************************************
This message and any attachments are solely for the
intended recipient. If you are not the intended recipient,
disclosure, copying, use or distribution of the information
included in this message is prohibited -- Please
immediately and permanently delete.
|