Date: Wed, 21 Apr 2004 18:01:51 +0200
Reply-To: Leslie Fisher <lfisher@METHOD-CONSULT.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Leslie Fisher <lfisher@METHOD-CONSULT.DE>
Subject: BASE replacing of sas date entries
Content-Type: text/plain; charset="us-ascii"
Hi,
I have a quite simple problem.
I have a SAS data set with two variables DTYPE1 and DTYPE2 containing
SAS date values. All I want to do is to replace the wrong date values
for "Benny" and "Henry" with the right ones right of the =-sign. The
following code sample shows the basic idea but does not work (no
surprise).
if NAME="BENNY" then DTYPE1=04JUN1999 ;
if NAME="HENRY" then DTYPE2=12/08/97 ;
Thanks a lot in advance,
Les
|