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 / venu

/*Sorting order by variable*/

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;
proc print data=abc;
run;


proc contents data=abc out=xyz;
run;


proc sql;
select name into :mac separated by " " from xyz;
quit;


proc print data=abc;
var &mac;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

2354


what is factor analysis? : Sas-administrator

1027


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

1002


Explain how merging helps to combine data sets.

992


what are some good sas programming practices for processing very large data sets? : Sas programming

874


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

993


Tell e how how dealt with..

2169


What is the difference between the proc sql and data step?

1105


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

1415


hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

5379


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1622


Explain the use of proc gplot? : sas-grid-administration

929


What function CATX syntax does?

1165


what is enterprise guide? What is the use of it? : Sas programming

948


What are types of transport files?

7861