SAS Interview Preparation Guide
Download PDF
Add New Question

SAS (Statistical Analysis System) frequently Asked Questions by expert members with experience in SAS. So get preparation for the SAS (Statistical Analysis System) job interview

11 SAS Questions and Answers:

1 :: Suppose date is 05sep2005; i want the output like 05sep2005:00:00:00 ; how it will come?

data test_date;
input date;
informat date datetime18;
proc print data=test_date;
format date datetime18.;
Post Your Answer

2 :: What is option year cuttoff in sas?

by this option we can set the year span like
Options yearcutoff=2050
so it sets year from 2050 to 2049 ..
Post Your Answer

3 :: How to CREATE an external dataset with sas code?

I thought about sth like this:

Data _null_;
filename fileref <device-type>


something like this buy it do not work.
and i would like to add BLK, DISP; UNIT SIZE
Post Your Answer

4 :: How to add a number to a macro variable?

Use %eval to do simple calculation for macro variables.
data _null_;
%let a = 1;
%let b = %eval(&a+1);
%put a=&a b=&b;
Post Your Answer
Add New Question