You will need to post test data (as a datastep), with required output and a more thorough explanation of what needs to be "reduced". The information given is not sufficient to provide any help I am afraid.
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.