Hello Everyone I need to find varaible name of maximium value even if there is a tie using array. Sample dataset Data test; input TT TS TM JAG TL; DATALINES; 450 789 850 789 745 145 523 854 125 452 356 896 785 452 896 523 589 846 475 145 632 521 452 785 452 ; RUN; now i want to create a variable which will store the variable name of maxmium value for eg output dataset TT TS TM JAG TL max 850 789 850 789 745 TT/TM 145 523 254 125 452 TS 356 896 896 452 896 TS/TM/TL 523 589 846 475 145 TM 785 521 452 785 452 TT/JAG Basically i wantname of variable for all the maximium values. Please use concept of ARRAY only Thanks~
... View more