how to rearrange the data as our wish by using dataset block?
Answer Posted / 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 |
Post New Answer View All Answers
sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately
Explain bmdp procedure?
For what purpose would you use the RETAIN statement?
what do the pad and dim functions do? : Sas programming
In sas admin differentiate between roles and capabilities? : sas-grid-administration
If money were no object, what would you like to do?
What are pdv and it functions?
How to read an input file in sas?
Describe the function and untility of the most difficult SAS macro that you have written.
what is intially documentation in sas?
Differentiate between ceil and floor functions.
how to do user inputs and command line arguments in sas?
how do you debug and test your sas programs? : Sas programming
what is sas database server? : Sas-di
what is the effect of the options statement errors=1? : Sas programming