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

What is run-group processing?

1092


What is the difference between where and if statement?

1062


what is treatment emergent events and treatment emregent adverse event

2325


What is the use of function Proc summary?

1214


Mention few capabilities of sas framework.

1129


In SAS explain which statement does not perform automatic conversions in comparisons?

1265


What is a pdv and what are its functions?

1048


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1111


In ARRAY processing, what does the DIM function do?

1116


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1171


What would be the value of month at the end of data step execution and how many observations would be there?

1062


what can you learn from the sas log when debugging? : Sas programming

1028


what is the basic structure sas administrator? : Sas-administrator

958


Given an unsorted data set, how to read the last observation to a new data set?

1290


How to read an input file in sas?

1095