|
|
楼主

楼主 |
发表于 2010-5-24 14:08:40
|
只看该作者
问个关于length的问题
question:
The following SAS program is submitted:
data work.month;
date = input('13mar2000',date9.);
run;
Which one of the following represents the type and length of the variable DATE in
the output data set?
A. numeric, 8 bytes
B. numeric, 9 bytes
C. character, 8 bytes
D. character, 9 bytes
------------------------------
In sas system:
data work.month;
date = input('13mar2000',date9.);
length=length(date);
put _all_;
run;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
1139:15
date=14682 length=12 _ERROR_=0 _N_=1 |
|