when you ask for help you need to show what you've tried so far. Explain what you know and what you are confused about. Post some PROC IML code that indicates how you are attempting to solve the problem.
If your question is answered, please mark an answer as "Accepted" and mark the question as "Resolved." Otherwise, please let us know what additional information you need.