gaurav verma


{ City } ghaziabad
< Country > india
* Profession * sas associate
User No # 104582
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { gaurav verma }
Questions Answers Category Views Company eMail




Answers / { gaurav verma }

Question { Accenture, 17023 }

If you have a data set that contains 100 variables, but you
need only five of those, what is the code to force SAS to
use only those variable?


Answer

data xyz first obs=first
obs=last;
set zyx;
run;

Is This Answer Correct ?    0 Yes 0 No

Question { Parexel, 10203 }

what is picture format? give any one example?


Answer

proc format;
picture pctfmt low-high='009.90%';
run;
proc tabulate data=xyz;
class name gender;
var rbc wbc;
table (name all)*(genderb all),
rbc*(mean*f=9. pct*f=pctfmt7.2)
wbc*(mean*f=8. pct*f=pctfmt7.2);
keylabel rbc='red blood cell'
wbc='white blood cell'
pct='percent';
run;

Is This Answer Correct ?    0 Yes 0 No


Question { 7325 }

I have 50 variables in one data set, In reports i want to
generate every 10 variables in one page how we will write
code in proc report.


Answer

proc report data=xyz nowd headline ps=14;
columns < > ;
define < > ;
run;

Is This Answer Correct ?    0 Yes 0 No