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 |
what is transformation in sas data integration? : Sas-di
Below is the table. Required to be output should be the highest number of each student_id. Example. Student_id Subject Marks 1 Hindi 86 2 Hindi 70 3 English 80 . Calculate sum and average marks for each group of student_id Example. Student_id Subject Marks Total Marks Average 1 English 40 181 60.33333 2 English 67 196 65.33333 3 English 80 160 53.33333 PLEASE PROVIDE THE CODE OF ABOVE PROBLEMS
Tell e how how dealt with..
what type of reports you are generating in your company...???
2 Answers GSK GlaxoSmithKline,
how would you determine the number of missing or nonmissing values in computations? : Sas programming
Differentiate between format and informat? : sas-grid-administration
What is the use of the %include statement?
Name types of category in which SAS Informats are placed?
what is intially documentation for a sas programmer?
how do i get last 10obs from a dataset when we don't know about the number of obsevations in that dataset?
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?