Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you delete duplicate observations in sas?

1044


Explain the difference between nodup and nodupkey options?

998


what is data access? : Sas-di

1104


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1721


What are all the problems you faced while validating tables and reports?

3424


explain about various caches available in data integrator? : Sas-di

1022


what is treatment emergent events and treatment emregent adverse event

2350


How do you add a number to a macro variable? : sas-macro

977


What is maximum number of rows and cols can be handled in SAS?

1523


What does the trace option do?

1080


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

997


AE datasets names? how many types?

2471


describe the interaction table in sas di? : Sas-di

995


How would you define the end of a macro? : sas-macro

1063


Difference between SAS STATA & SPSS?

1086