SAS Interview Questions

 
1.
Suppose date is 05sep2005; i want the output like 05sep2005:00:00:00 ; how it will come?
2.
What is option year cuttoff in sas?
3.
How to CREATE an external dataset with sas code?
4.
How to add a number to a macro variable?
5.
Code the tables statement for a single-level (most common) frequency?
6.
Code the tables statement to produce a multi-level frequency?
7.
In PROC PRINT, can you print only variables that begin with the letter �A�?
8.
Suppose a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like
100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?
9.
What is validvarname and varnum? why we are using this options; explain with a syntax for this options?
10.
Suppose a null dataset with 10 variables; i want to print only name of the varibales in log window and also output window. How can we do this one?
11.
What is the use of catalog?