how to rearrange the data as our wish by using dataset block?
Answers were Sorted based on User's Feedback
Answer / srinivas anumalla
Probably there are many options,like id statement,proc sort.
As Some body said retain is not for that operation.
But i strongly suggest Proc sort.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / raaman
data Temp;
input Sno Sname $ Eng Maths Sci Soc;
cards;
1212 Smith 67 78 89 98
2334 Lisa 78 89 99 87
;
run;
data Temp1;
retain Sname Sci Eng Maths Soc Sno;
set Temp;
run;
proc print data = Temp1;
title "1.Use of Retain Statement";
run;
use retain statement before the set statement
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nani
by using id statement
proc print data=dsn;
id var3 var5 var1;
run;
| Is This Answer Correct ? | 0 Yes | 1 No |
Hi, Does anybody has lastest SAS certification(base, adv., clinical)dumps,if anybody has please email me at mailtorajani76@gmail.com. Thanks
In sas, what are the areas that you are most interested in? : sas-grid-administration
Why and when do you use proc sql?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
What is the maximum length of the macro variable?
Explain by-group processing?
What sas features do you use to check errors and data validation?
what is chi-square test? have you used that?
1 Answers Accenture, Quintiles,
How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
what is the primary variable in your study?
· What are some good SAS programming practices for processing very large data sets?