Top SAS Interview Questions :: ALLInterview.com http://www.allinterview.com Top SAS Interview Questions en-us what is the difference between compiler and interpreter? give any one http://www.allinterview.com/showanswers/57417.html A compiler compiles the source code in a form that can be used directly by the computer. At run time the code is to run the programme is already there. An interpreter reads each line of the source code and converts it to machine code on the What is the difference between nodup and nodupkey options? http://www.allinterview.com/showanswers/57869.html The NODUP option checks for and eliminates duplicate observations. The NODUPKEY option checks for and eliminates duplicate observations by variable values. how can u import .csv file in to SAS?tell Syntax? http://www.allinterview.com/showanswers/32073.html To create csv file,we have to open notepad.then ,declaring the variables.then save the file.like enr.csv SYNTAX: proc import datafile='external file' out=<dataset name> dbms=csv replace; getnames=yes; proc print data=<datase What is _n_? http://www.allinterview.com/showanswers/19566.html it gives the Number of iterations. How would you delete duplicate observations? http://www.allinterview.com/showanswers/35944.html we can delete duplicate observations by using nodup or nodupkey option in the proc sort Example :- Proc sort data=datasetname nodup; run; what is the diff. b/w proc means and proc summary? http://www.allinterview.com/showanswers/32069.html proc means generates an output, if you want to suppress an output, you include the noprint option. proc summary doesnt generate an output, if you want an output, you include the print option. What is _n_? http://www.allinterview.com/showanswers/35956.html This is a data counter variable used in SAS. ..Raghu what is the difference between the SAS v8 and SAS v9? http://www.allinterview.com/showanswers/27704.html SAS 9 users can safely interchange data files with SAS 8 users under certain circumstances SAS 9 was released under certain unix platforms as a 64 bit application SAS 8 session running in a 32 bit environment How would you delete observations with duplicate keys? http://www.allinterview.com/showanswers/35945.html using nodupkey Do you prefer Proc Report or Proc Tabulate? Why? http://www.allinterview.com/showanswers/18790.html Proc report is very flexible to create tables than proc tabulate as it ----supports built-in formats -----it has both the features of displaying output on report template and creating datasets..... What SAS statements would you code to read an external raw data file http://www.allinterview.com/showanswers/19535.html INFILE statement and INPUT statement How to select the observations randomly from a SAS dataset http://www.allinterview.com/showanswers/16752.html you can use the RANUNI function to select observations randomly. Ex:- data test; input number @@; cards; 2.1 3.1 4 6 2.2 4.9 4 5 3 3.3 4 5 3 4.3 5 7 3 3 9 11 ; data test1; set test; random=ranuni(1); run; %let k=10; PROC what is the difference between SET and MERGE? http://www.allinterview.com/showanswers/32065.html Set statement is usually used to "append" to two datasets. And merge step is used to "Merge" two datasets. What is the difference between an informat and a format. Name three i http://www.allinterview.com/showanswers/19539.html informat - the format used to read the variable from raw data format - the format used to print the values of the variable Informat ? ddmmyy10., How would you delete duplicate observations? http://www.allinterview.com/showanswers/19554.html nodup option in the merge statement