谢了。作者: shiyiming 时间: 2004-4-14 02:27
Try the following, you will get the answer.
[code:beda8]data a;
format t datetime. date date9.;
t=558375454;
date=datepart(t);
mon=month(date);
year=year(date);
run;
[b:0e06c]Data YLD_pm_daily;
set webdata.Pm_anad_base;
where Date>='&daystr'd and Operation='TTL' and HTNUM^=900;
count=QTY*Flip_rate/100;
run;[/b:0e06c]