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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is hash files in sas and why we are using this one in sas?

1734


What is the basic syntax of a sas program?

673


Difference between informat and format?

646


if a variable contain dates like "2015/01"---"2015/12" (yymm) ,How to add day to those dates,if them month is jan then 31 if the month is feb then 28 so on ...

947


How do you connect the desktop application to metadata server? : sas-grid-administration

588






how are numeric and character missing values represented internally? : Sas programming

622


Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.

1465


How do you test for missing values?

1062


what is sas application server? : Sas-di

546


what is the difference between nodup and nodupkey options? : Sas programming

625


why a stop statement is needed for the point= option on a set statement?

631


how does sas handle missing values in procs? : Sas programming

640


how can you create zero observation dataset? : Sas programming

644


what is business intelligence? : Sas-bi

585


Intern stastical programmer written test

290