| Other SAS Interview Questions |
|| Asked @
|I use NOCUM/NOPERCENT option in the tables statement like this
Proc freq data = deepak;
tables x y /nocum nopercent;
Here I get nopercent and nocum in the output only for
variables x and y. How do i do it for all variables?
|There are 200 observations in a dataset, i want to pull out
the observation no's 100, 150,180,190 by using Proc SQL? How
you can get it?
|sas implimented companies in hyderabad
|what is difference in window SAS & Unix SAS.....how do
define working environment in both???
|what is the difference between %put and symbolgen?
|What do you feel about hardcoding?
|how to assign a macro value to a variable?
|How did you use the round function?give an example(don't
say it will round to the nearest intger) eg1:round(84.55,.1)
=84.6 eg2:round(92.64,.1)=92.6,How it is happening like
this tell me the logic,that is how the round function works
when we have deimal values?
|what is Business Intelligence?
|What is the difference between Proc tabulate and Proc print
|You have a data set of 100 observations,how can you
restrict the output so that the output has only data from
row no. 10 to row no. 20
|libname deepak 'C:\SAS Files';
invalue convert 'A+' = 100
'A' = 96
'A-' = 92
'B+' = 88
'B' = 84
'B-' = 80
'C+' = 76
'C' = 72
'F' = 65;
input ID $3. Grade convert.;
*format Grade convert. ;
proc print data = deepak.grades;
I get the following output
Obs ID Grade
1 001 .
2 002 .
3 003 .
4 004 .
5 005 .
I donít understand why Grade shows up as a missing value.
Everything seems fine, including ID $3.
Now, in case I use ID : $3. Or use column input, I get the
|For more SAS Interview Questions Click Here |