hai,
I am a starter in SAS and while I was doing the following progrmme I found answer as 'length 7' and 'under 6'. I want explenation how it does.
data fltaten;
input jobcode $ salary name $;
cards;
FLAT1 70000 Bob
FLAT2 60000 Joe
FLAT3 30000 Ann
;
run;
data desc;
set fltaten;
if salary>60000 then description='Over 60';
else description='Under 60';
run;
bhanu
I am a starter in SAS and while I was doing the following progrmme I found answer as 'length 7' and 'under 6'. I want explenation how it does.
data fltaten;
input jobcode $ salary name $;
cards;
FLAT1 70000 Bob
FLAT2 60000 Joe
FLAT3 30000 Ann
;
run;
data desc;
set fltaten;
if salary>60000 then description='Over 60';
else description='Under 60';
run;
bhanu