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

What do you code to create a macro? : sas-macro

1068


In sas, what are the areas that you are most interested in? : sas-grid-administration

1025


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

1000


Why and when do you use proc sql?

1186


Explain the main difference between the sas procedures and functions? : Sas-administrator

1016


What is the purpose of trailing @ and @@? How do you use them?

984


What is maximum storage capability of SAS?

1354


what is sas enterprise intelligence architecture? : Sas-bi

937


what are several options for creating reports in web report studio? : Sas-bi

1080


sas implementing companies in pune implementing clinical projects if anyone knows plz send ans immediately

3530


is data integration and etl programming is same? : Sas-di

1010


How does the internal authentication work in sas? : sas-grid-administration

1068


Explain why double trailing @@ is used in input statement?

1010


What is the basic structure of a sas program?

1059


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

987