| Editing and Debugging SAS Programs |
| Resolving Common Problems |
| Invalid Option
An invalid statement option error occurs when a specified option is invalid when used with a particular statement. In the program below, the KEYLABEL option is not valid when used with the PROC PRINT statement. |
data clinic.admitfee;
set clinic.admit;
run;
proc print data=clinic.admitfee keylabel;
label actlevel='Activity Level';
run;
|
| When a SAS statement with an invalid option is submitted, a message appears in the Log window indicating that an option is invalid or not recognized. |
| Resolving the Problem
To correct the error, do the following:
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.