| 1. |
How Do U Validate Sas Program? |
|
Answer» When a sas code is submitted, SAS PERFORMS syntactical checks before executing the program/ code. In that case, one of the ways COULD be - at the beginning of the code, write OPTIONS OBS=0 in addition to other options and then RUN it. This way DATA will not be PROCESSED and the log shows error messages/ warnings, if any. If you are executing the SAS code on PC SAS, the highlighted colors itself shows the syntactical ERRORS, if any. When a sas code is submitted, SAS performs syntactical checks before executing the program/ code. In that case, one of the ways could be - at the beginning of the code, write OPTIONS OBS=0 in addition to other options and then RUN it. This way data will not be processed and the log shows error messages/ warnings, if any. If you are executing the SAS code on PC SAS, the highlighted colors itself shows the syntactical errors, if any. |
|