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..
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
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;
proc sort data=abc;
run;
Is This Answer Correct ? | 2 Yes | 24 No |
Name statements that function at both compile and execution time?
What would be the value of month at the end of data step execution and how many observations would be there?
What versions of SAS have you used (on which platforms)?
How do you put a giraffe into the refrigerator?
Hi I have list of products in a dataset, which are classified by other name for eg:- there is a product A> Malambo Shiraz Malbec 750ML(0388) which is a Red wine.Now i need to generate a report where it shows if this product appears then it should b displayed as red wine,similarly for other products and other classification. I dont wan use proc format.
Which is the best training institute for SAS in Delhi. Please reply
what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
36 Answers Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,
name few built in sas transformation in DI studio ?
How can I remove header from output data set?
How we will Developing new reports Using Data step programming and Macros ?
here is a string like chq.2312244%4452- from that i want only special characters in a column. dont use compress. bcoz i have 1.2 billion of records.i want another process to find the values instant from the data.
what is ae onset date n what is RDS