Reading data into a SAS dataset can be accomplished using multiple approaches including the
datalines statement, from an external file using an
infile statement in the data step, or reading data from an external file using
proc import. In addition you can read in data from external sources that are odbc compliant (e.g. SQL databases) using the odbc drivers.