Writing Basic DATA Steps

Creating SAS Data Sets from External Files explained how to write a DATA step to create a permanent SAS data set from raw data that is stored in an external file.
data clinic.stress; 
   infile tests; 
   input ID 1-4 Name $ 6-25 RestHR 27-29 
         MaxHR 31-33 RecHR 35-37 
         TimeMin 39-40 TimeSec 42-43 
         Tolerance $ 45; 
run;
Partial Raw Data File Tests
You learned how to submit the DATA step and how to check the log to see whether the step ran successfully.
SAS Log
You also learned how to display the contents of the data set with the PRINT procedure.
 proc print ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.