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...

In a shcool there are 1000 students. After completion of
every test in 6 subjects , each subject teacher submit the
marks of every student at different times and loaded in the
database commonly. How will you seperate the top two
subject marks for each each studet using SAS?

Answer Posted / bakul shah

/*
Bakul Shah
6/May/2009
*/
Data A ;
Array N{6};
Input Name $ N{*} ;
Call SortN(of N{*}); /* Sort for Intergers */
Put @5 Name $ @10 N{6} 3. +2 N{5} 3.;/* 6th and 5th */
DataLines;
David 76 81 65 87 78 98
Manisha 100 91 67 86 87 81
Bob 83 93 76 88 96 72
;
Run;
*;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is hierarchy flattening? : Sas-di

1083


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1256


explain about various caches available in data integrator? : Sas-di

1052


what are sas/access and sas/connect? : Sas programming

993


What are the features of base sas system?

1068


Give an example where SAS fails to convert character value to numeric value automatically?

1089


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

1209


Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?

2250


What are the prime responsibilities of data integration administrator? : Sas-di

1071


What is by-group processing?

999


How to limit decimal places for variable using proc means?

1113


how to read the variables in sas? : Sas-administrator

1023


Describe the function and untility of the most difficult SAS macro that you have written.

2109


what is the basic structure sas administrator? : Sas-administrator

1005


what is sas metadata repository? : Sas-bi

1119