* Create SAS data set of garden data; * Read data file 'garden_multline.txt'; * There are three lines of data per observation; DATA garden; *INFILE 'z:\My Documents\teaching\stat_517\garden_multline.txt'; FILENAME webpage URL 'http://people.stat.sc.edu/hitchcock/garden_multline.txt'; INFILE webpage; INPUT gardener $ #2 tomato grape / location $; * Could also do:; *INPUT gardener $ / tomato grape #3 location $; * Or simply:; *INPUT gardener $ / tomato grape / location $; * Or even out of order:; *INPUT gardener $ #3 location $ #2 tomato grape ; PROC PRINT DATA = garden; RUN;