Answer Posted / arjun
First of all, what do you mean by 'validate' SAS program? I
assume that you need to perform 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. Otherwise, if you are executing
the SAS code on PC SAS, the highlighted colors itself shows
the syntactical errors, if any.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the order of application for output data set options, input data set options and SAS statements?
What is the length assigned to the target variable by the scan function?
Mention what is SAS data set?
how does sas handle missing values in functions? : Sas programming
How sas treats the dsd delimiters?
Where do you use proc means over proc freq?
What are types of transport files?
What is the role of administrative users? : sas-grid-administration
Mention what is PROC in SAS?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
what are all the reports you generated in your recent project?
What do the mod and int function do? : Sas programming
What is PDV?
How to read an input file in sas?
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro