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

What is PROC in SAS?

0 Answers  


Which command is used to save logs in the external file?

0 Answers  


What is the basic syntax style in SAS?

0 Answers  


What is the purpose of _error_?

1 Answers   Quintiles,


What sas features do you use to check errors and data validation?

0 Answers  






Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

0 Answers  


What is Transaction...? And what are Comment, Roll back n Save point..?

2 Answers  


how to generate report for 0 observation dataset?

3 Answers   Mind Tree, Student,


what is the Population you used in your project, is it ITT or PP?

0 Answers   Accenture, Quintiles,


Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


How would you identify a macro variable? : sas-macro

0 Answers  


How to save the log information in a file for future use

2 Answers   HCL,


Categories