Correcting Common Errors
The Basics of Error Correction
To correct
errors in programs, edit them in the code editing window. To correct
simple errors, such as the spelling error here, type over the incorrect
text, delete text, or insert text.
data sasuser.admitfee;
set sasuser.admit;
run;
proc prin data=sasuser.admitfee;
var id name actlevel fee;
run;
In the program below,
the missing letter t has been inserted
into the SAS keyword that is specified in the PROC PRINT statement.
Figure 4.2 Corrected Program
Resubmitting a Revised Program
After correcting your program, you can resubmit it. If you are working in the SAS windowing environment, ...
Get SAS Certification Prep Guide, 4th 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.