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

create data set as given above.Next follow the below step.

data abc;
format a $2.;
format g $2.;
format k $2.;
format m $2.;
format o $2.;
format s $2.;
format t $2.;
format w $2.;
set abc;
run;

Run the above program u will get variables in sorted order.

Note:-In the place of format statement u can use length
statement.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you involved in writing the inferential analysis plan? Tables specfications?

2172


What is the difference between proportion and average?

3266


Name few SAS functions?

1041


how many types prompting framework can be broken down to? : Sas-bi

1032


How would you include common or reuse to be processed along with your statements?

2316


Do you know the features of sas?

994


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1869


what are informats in sas? : Sas-administrator

1015


What does proc print, and proc contents are used for?

1059


What are the prime responsibilities of data integration administrator? : Sas-di

1002


Explain proc sort?

1028


Define run-group processing?

980


What is the difference between one to one merge and match merge? Give an example.

997


What is the difference between where and if statement?

1060


What are the advantages of using sas?

1093