in column input in input statement list the variable names and specify column positions that identify the location of the corresponding data fields. you can use column input when your raw data is in fixed columns an does not require the use of informats to be read.
example: column input
data std;
input name$ 1-15 age 17-18 class 20 sex 22 grade 24-27;
datalines;
ali sahin 21 4 0 3.1
hüseyin karatas 20 2 1 2.90
;
run;
proc print;
run;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment