Hello, Just to learn the basics, I'm experimenting with combinations of different options of infile and input statemets, and sometimes the results are not quite those I would suppose. For example: My data, koe.dat, contains only thoe two rows: aa bb cc dd gg hh ii mm With column input, data koe; infile '/users/kranikai/data/koe.dat'; input yks $ 1-2 kaks $ 4-5 kolme $ 7-8 nelj $ 10-11 @@; run; I run into difficulties: there seems to be an infinite loop. At least the program never ends. On the other hand, list input version of the same data step, data koe; infile '/users/kranikai/data/koe.dat'; input yks $ kaks $ kolme $ nelj $ @@; run; works perfectly, and produces a set with two observations. What's actually happening in both instances? Of course, to read my data, I do not need @@. However, I'd really like to know how it works exactly, with different input styles and different infile options.
... View more