if a program has some 1000 or more line and how to know whether the syntax of the particular code is correct without checking it manually
Answers were Sorted based on User's Feedback
Answer / naresh
Use options OBS = 0, no replace; Execute your prog. To set normally options OBS = MAX replace;
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / huan
data test;
[statement lines];
run CANCEL;
CK
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTM
L/default/viewer.htm#a000214506.htm
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sasswarup
Syntax errors occur when program statements do not conform to the rules of the SAS language.
Here are some examples of syntax errors:
1.misspelled SAS keyword
2.unmatched quotation marks
3.missing a semicolon
4.invalid statement option
5.invalid data set option
So, the code color gets changed in the editor and we can find out easily.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashish
You can check answers here second anwer has pdf attached which is good
http://stackoverflow.com/questions/836157/in-sas-what-are-good-techniques-options-for-catching-syntax-errors
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the command used to find missing values?
what are the validation tools in sas?
what are input dataset and output dataset options?
Difference between SAS STATA & SPSS?
if i having variables named a b c d e f ,how to find total of each variable ????give syntax...??
What is the difference between where and if statement?
What techniques and/or PROCs do you use for tables?
what is function of retain statment
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
what is sas and what are the functions? : Sas-administrator
how to shift the rows to cols? eg: i have like field1 field2 field3 10 20 20 this should be displayed as field1 10 field2 20 field3 30 (without the obs col) how do this?can i use transpose or tell me suitable way to do this?
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming