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

data xyz;
set abc;
retain a g k m o s t;
run;

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain input and put function?

647


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

511


what do the pad and dim functions do? : Sas programming

566


AE datasets names? how many types?

2078


What are the new features included in the new version of SAS Programming Language?

737






How long can a macro variable be? A token? : sas-macro

717


how to generate the test data in sas without input data? : Sas-administrator

578


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

546


which features do you use to check the data validations and errors? : Sas-administrator

549


How many ways to overcome a missing values???

2336


where to use sas business intelligence? : Sas-bi

582


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

3480


State the difference between INFORMAT and FORMAT ?

599


Explain proc univariate?

606


Explain the difference between using drop = data set option in set and data statement?

682