Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

diff between nodup rec and ondup key???

3 Answers   AON, Sciformix,


how to generate report for 0 observation dataset?

3 Answers   Mind Tree, Student,


Tell me about % include and % eval? : sas-macro

0 Answers  


what is the effect of the options statement errors=1? : Sas programming

0 Answers  


Explain the use of proc gplot? : sas-grid-administration

0 Answers  


What is the function of output statement in a SAS Program?

0 Answers  


What do the mod and int function do? : Sas programming

0 Answers  


what are the differences between proc report and proc tabulate?

3 Answers  


libname deepak 'C:\SAS Files'; proc format; invalue convert 'A+' = 100 'A' = 96 'A-' = 92 'B+' = 88 'B' = 84 'B-' = 80 'C+' = 76 'C' = 72 'F' = 65; data deepak.grades; input ID $3. Grade convert.; *format Grade convert. ; datalines; 001 A- 002 B+ 003 F 004 C+ 005 A ; proc print data = deepak.grades; run; I get the following output Obs ID Grade 1 001 . 2 002 . 3 003 . 4 004 . 5 005 . I don’t understand why Grade shows up as a missing value. Everything seems fine, including ID $3. Now, in case I use ID : $3. Or use column input, I get the desired output. Kindly help Deepak

7 Answers  


What are the uses of sas?

0 Answers  


Differentiate between proc means and proc summary.

0 Answers  


How the Excel file enter into the SAS environment without Code of Infile & Import procs,if i have no file Conversion?

3 Answers   Reddy Labs,


Categories