* Sample SAS program "multivar.sas" ; /* Read in multiple variables. */ /* Using COLUMN POINTER and simple INFORMAT. */ /* Column pointer controls indicate the column in which */ /* an input value starts, e.g. @ n moves the pointer to */ /* column n (n must be a positive integer). */ /* In input statement " @ 6 (inc1-inc3) (6.) " moves the pointer */ /* to column 6 and reads 6 digits (column 6-11) in variable inc1, */ /* next 6 digits (column 12-17) in variable inc2 and */ /* column 18-23 in variable inc3. */ /* For a complete description of COLUMN POINTERS and INFORMATS see */ /* SAS Language: Reference, Version 6, First Edition, Chapter 9. */ options ls=79; data temp; infile '[drive]:\[your_folder]\income2.dat'; input @ 1 year 4. @ 6 (inc1-inc3) (6.); run; proc print data=temp; title; run;