There are 3 concepts i would like to clarify. :(colon format modifier)
, ~(tilde)
and dlm=
data scores;
infile datalines dsd;
input name : $10. score1-score3 team ~ $25. div $;
datalines;
Smith,12,22,46,"Green Hornets, Atlanta",AAA
FriedmanLi,23,19,25,"High Volts, Portland",AAA
Jones,09,17,54,"Vulcans, Las Vegas",AA
;
run;
Firstly, usage of :
in input statement can totally replace length
statement? And why i do not need :
for team variable sth like team : ~ $25.
?
Secondly, why sas can automatically recoginize ,
is the delimiter but not "
or blank
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…