SAS Question:
Download Questions PDF

In PROC PRINT, can you print only variables that begin with the letter “A”?

Answer:

Use the idea of variable list (varlist) wildcard :

e.g.,
proc print data=xxx ;
var A: ;
run ;
This will list all variables start with letter A.

Download SAS Interview Questions And Answers PDF

Previous QuestionNext Question
Code the tables statement to produce a multi-level frequency?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?