Date: Thu, 31 Aug 2006 13:29:16 +1000
Reply-To: Matthew.May@NAB.COM.AU
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Matthew May <Matthew.May@NAB.COM.AU>
Subject: Re: A Simple Datamanupulation question
In-Reply-To: <200608301759.k7UGPwZh006855@mailgw.cc.uga.edu>
Content-Type: text/plain; charset="US-ASCII"
data temp;
input @1 patient 3.;
cards;
203
203
203
203
203
203
205
205
205
205
208
208
208
209
209
209
310
310
310
310
;
run;
proc sort data = temp;
by patient;
run;
data temp;
length patientcopy $ 3;
set temp;
by patient;
if first.patient then do;
patientcopy = compress(patient);
end;
else patientcopy = " ";
run;
National Australia Bank Ltd - ABN 12 004 044 937
This email may contain confidential information. If you are not the intended recipient, please immediately notify us at postmaster@nab.com.au or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Ltd. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with "unsubscribe" in the subject line to Unsubscriptions@nab.com.au in order to stop marketing emails from this sender. National Australia Bank Ltd does not represent that this email is free of errors, viruses or interference.
|