Specify the output data set options. The OUTPUT statement writes the new variables, MostCash and MostTime, which contain the names of the students who collected the most money and volunteered the most time, respectively, to the PRIZE data set.
output out=Prize maxid(MoneyRaised(name) HoursVolunteered(name))= MostCash MostTime max= ;