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

How to convert a numeric variable to a character variable?

877


What do the SAS log messages "numeric values have been converted to character" mean?

1115


Have you used macros? For what purpose you have used? : sas-macro

814


What is the good sas programming practices for processing large data sets?

876


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

957


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.

1679


Mention common programming errors committed in sas ?

850


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

785


How do you convert basic cube to transaction cube and transaction cube to basic cube?

2011


Explain bmdp procedure?

813


For what purpose would you use the RETAIN statement?

1275


Difference between informat and format?

858


what do you mean by data staging area? : Sas-di

836


how do you pull data from equifax?tell me the process?

1578


In sas, what are the areas that you are most interested in? : sas-grid-administration

845