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...

hi guys ...i have one query...
data abc;
input s w k g o t a m;
cards;
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8 9
;
run;

i want the output to be the sorted order(only
variables).observations should not be changed..

Answer Posted / m.sivakumar

ata abc;
input s w k g o t a m;
cards;
1 2 3 4 5 6 7 8
2 3 4 5 6 7 8 9
;
run;
proc transpose data=abc out=atranabc;
run;
proc print;
title 'Simple Example of PROC TRANSPOSE';
run;
proc sort data=atranabc;
by _name_;
run;
proc print;
run;
proc transpose data=atranabc out=sortabc(drop=_name_);
run;
proc print data=sortabc;
run;

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

1019


what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming

1097


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

2343


what is sas enterprise intelligence architecture? : Sas-bi

984


How many ways to overcome a missing values???

2823


What are the different types of sas functions?

1291


how many types of prompts are there? : Sas-bi

1083


What are the five ways to do a table lookup in sas? : sas-grid-administration

1067


What are pdv and it functions?

1157


What is the maximum and minimum length of macro variable

1265


what is data access? : Sas-di

1150


Explain append procedure?

1095


What can be the size of largest dataset in SAS?

1236


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2721


what has been your most common programming mistake? : Sas programming

1119