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
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; 9232 ...
Get SAS Certification Prep Guide, 5th 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.