m*******g 发帖数: 3044 | 1 my code:
data sasuser.aggep_f1;
set sasuser.aggep_f;
Num_AY=input(AY,4.);
run;
AY=accident year(2007,2008, 2009,2010 ...), but is is character in my sas, I
want to change to numberic.
is my code correct? | R*********i 发帖数: 7643 | 2 Looks right. Why not run it in SAS to see the results? | w*******n 发帖数: 469 | | P****D 发帖数: 11146 | 4 Cannot see anything wrong. | m*******g 发帖数: 3044 | 5 可我RUN完后,重新打开这个表,AY那一列显示的还是CHARACTER | l*********s 发帖数: 5409 | 6 delete it and rename ay_num to ay
【在 m*******g 的大作中提到】 : 可我RUN完后,重新打开这个表,AY那一列显示的还是CHARACTER
|
|