2.2.2Reading data sets saved as text—INFILE can be your
friend
It’s OKto use a DATALINESstatement for so-called instream data entry when you have
relatively small data sets. In fact, you might want to use a subset of a large data set as a
test data set for making sure that you have your INPUTstatement correctly specified.The
code in the previous section accomplishes this, and the previousINPUTstatement is used
again in this section.Whenyou get to larger data sets, it would make for large and ugly
programs if you had to slog through hundreds of lines of data before getting to analysis
statements ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.