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

proc contents data=abc out=test;
quit;


proc sort data=test;
by name;
quit;

proc sql;

select name into: v_name separated by " " from test;
%put &v_name;


quit;


data abc2;
retain &v_name;
/*retain a g k m o s t w ;*/
set abc ;

run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sas olap server? : Sas-di

1295


What are the functions used for character handling?

1305


What commands are used in the case of including or excluding any specific variables in the data set?

1145


What is the basic syntax of a sas program?

1264


how do you test for missing values? : Sas programming

1101


How do you use the do loop if you don’t know how many times you should execute the do loop?

1304


What is the use of stop statement?

1117


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2428


How do you debug and test your SAS programs?

1610


what is the difference between nodup and nodupkey options? : Sas programming

1270


what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

1192


Describe a time when you were really stuck on a problem and how you solved it?

2678


I have a dataset concat having variable a b & c. How to rename a b to e & f?

1079


What is interleaving in SAS?

1177


What areas of SAS are you most interested in?

1580