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
What is a method to debug and test your SAS program?
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration
How would you define the end of a macro? : sas-macro
do you need to know if there are any missing values? : Sas programming
it will become easy if uuu provide website linkssss and list of consultanciessssss
what are the categories that sas informats are used to the place the data? : Sas-administrator
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
What is SAS? What are the functions does it performs?
How do you convert basic cube to transaction cube and transaction cube to basic cube?
How would you invoke a macro? : sas-macro
name the scheduler for scheduling job and explain the scheduler? : Sas-di
how sas deals with business intelligence? : Sas-bi
Enlist the functions performed by sas.
what is data governance? : Sas-di