In reply to Vijay.

Thanks for your comment. I believe that this post answers your question. If not, please post sample data and show what you have attempted at the SAS Support Communities.