Thursday, October 4, 2012

Travelling

Writing in progress.. Will post soon.

Sas Interview Questions 9


How is the variable Amount labeled and formatted in the PROC PRINT output?
data credit;
   infile creddata;
   input Account $ 1-5 Name $ 7-25 Type $ 27
         Transact $ 29-35 Amount 37-50;
   label amount='Amount of Loan';
   format amount dollar12.2;
  
run;

Sas Interview Questions 8

Which program does not contain an error?
a.                proc report data=sasuser.houses nowd;
b.                    column style bedrooms baths;
c.                    define style / order;
d.                    define bedbathratio / computed format=4.2;
e.                    compute bedbathratio;
f.                         bedbathratio=baths.sum/bedrooms.sum;
g.                    endcomp;