Syntax, INPUT statement
using list input:
INPUT variable <$>;
|
input Gender $ Age Bankcard FreqBank Deptcard FreqDept;
data sasuser.creditsurvey; infile creditc; input Gender $ Age Bankcard FreqBank Deptcard FreqDept; run;
proc print data=sasuser.creditsurvey; run;
data sasuser.phonesurvey; infile phonsurv; input IDnum $ Ques1-Ques5; run; proc print data=sasuser.phonesurvey; var ques1-ques3; run;
data sasuser.stores;
infile stordata;
input Age (Store1-Store3) ($);
run;
proc print data=sasuser.stores;
run;
data sasuser.scores;
infile group3;
input Age (Score1-Score4) (6.);
run;