Editing and Debugging SAS Programs |
Correcting Errors |
To modify programs with errors, you usually need to recall
the submitted statements from the recall buffer to the Program Editor window,
where you can correct the problems. Remember that you can recall submitted
statements by selecting
Run Recall Last Submit You can correct simple errors, such as the spelling error in the following program, by typing over the incorrect text, deleting text, or inserting text. |
data clinic.admitfee; set clinic.admit; run; proc prin data=clinic.admitfee; var id name actlevel fee; run; |
In the Program Editor window below, the missing t has been inserted into the PROC PRINT statement. |
Some problems are relatively simple to
diagnose and correct. But sometimes you may not know how to correct
errors right away. The help facility provides information about individual
procedures as well as help specific to your operating environment.
From the Help menu, select
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.