In reply to Michael.

Sorry, but I don't understand your question. I recommend that you post sample data to the SAS Support Communities, along with a table that describes the output that you want.