| Other SAS Interview Questions |
|| Asked @
|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
|Suppose there is a SAS dataset with following values -
and so onÖ..
This goes onto 1000s of observations/rows.
Now how do we identify from this dataset Grandparents and
|firstobs and obs are working only option wise,but we are
infile statement with firstobs and obs in a statement wise?
firstobs,obs working at options and statemnts or not?
|what is cummaltive frequency,and varience in proc unviarte
|which domain is better in sas?
clinical trails or banking
|What do you feel about hardcoding?
|What is the difference between nodup and nodupkey options?
|Which date functions advances a date time or date/time
value by agiven interval?
|If you need the value of a variable rather than the
variable itself what would you use to load the value to a
|What has been your most common programming mistake?
|How to write duplicate records into a separate dataset using
|What statement do you code to write the record to the file?
|For more SAS Interview Questions Click Here |