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 / jose av

No need of doing Tedious codes, just use those variables in
the alphabetical order in a LENGTH statement before setting
(before set statement) .Try this..

data abc_01;
length a g k m o s t 3.;
set abc;
run;

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain append procedure?

1090


Compare sas with other data analytics tools.

1034


What are the ways to do a “table lookup” in sas?

1032


what are the scrubbing procedures in sas? : Sas programming

1286


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

1275


how can you create zero observation dataset? : Sas programming

1152


What would you change about your job?

2390


what are the best practices to process the large data sets in sas programming? : Sas-administrator

1027


explain about data integrator metadata reports? : Sas-di

1110


What is the difference between nodupkey and nodup options?

1041


What do you know about symput and symget?

1253


where are dashboard components are created and maintained? : Sas-bi

1013


Enlist the functions performed by sas.

1128


What are the difficulties u faced while doing vital signs table or dataset?

2397


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1088