data pepito;
format dt_pepito DDMMYY10.;
input dt_pepito DDMMYY10.;
if DT_SS ne ' ' and DT_SENT ne ' ' then DT_SENT as DT_PEPITO;
if DT_SS ne ' ' and DT_SENT = '' then DT_SENT as DT_PEPITO;
if DT_SS eq ' ' and DT_SENT ne ' ' then DT_SENT as DT_PEPITO;
else 'review';
set pepito2;
run; Hello everyone, I have import the file with DT_SS and DT_Sent and I''m trying to create DT_PEPITO. DT_SS AS DDMMYY10. DT_SENT AS DDMMYY10. Could someone help me, please? And SAS give me errors that I don't know how to solve it. ERROR 180-322: Statement is not valid or it is used out of proper order. ERROR: Variable dt_envio has been defined as both character and numeric.
... View more