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



if a program has some 1000 or more line and how to know whether the syntax of the particular code is..

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

if a program has some 1000 or more line and how to know whether the syntax of the particular code is..

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

if a program has some 1000 or more line and how to know whether the syntax of the particular code is..

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

if a program has some 1000 or more line and how to know whether the syntax of the particular code is..

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

Post New Answer

More SAS Interview Questions

how can you create zero observation dataset? : Sas programming

0 Answers  


Mention what is the difference between nodupkey and nodup options?

0 Answers  


Hi Jeevan/Akshara I have tried to contact SASI Vats for latest Advanced SAS Programming Certification Dumps (A00-212) but have not got any response. I would highly and gratefully appreciate your assistance in this regard. If you guys have access to this, would you be kind enough to forward it to me ? I would abide by all the terms you have for this. Please, note my email id: upretigopi@yahoo.com Preti Sharma

0 Answers  


what is transformation in sas data integration? : Sas-di

0 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set?

2 Answers  






what is Business Intelligence?

3 Answers   CitiGroup,


What are the criticality that you have faced during your project in SAS?

2 Answers  


Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books

2 Answers  


what the use of proc glm

1 Answers   Accenture, C Marc,


. Which date advances a date, time or date/time value by a given interval?

8 Answers  


What are exact SAS Base contents..?N what r SAS Tools..?

1 Answers  


What is a post baseline?

1 Answers  


Categories