Correcting Common Errors

The Basics of Error Correction

To correct simple errors, such as the spelling error here, type over the incorrect text, delete text, or insert text. In the following program, the incorrect spelling of PRINT in the PROC step is corrected.
data work.admitfee;
  set cert.admit;
run;
proc print data=work.admitfee;
  var id name actlevel fee;
run;

Resubmitting a Revised Program

After correcting your program, you can resubmit it.
Figure 5.1 Correct PRINT Procedure Output
Correct PROC PRINT Output
Remember to check the SAS log again to verify that your program ran correctly.
Log 5.2 SAS Log: No Error Messages
 9231 data work.admitfee; ...

Get SAS Certified Specialist Prep Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.