In reply to Deborah Reese.

Thank you, Deborah, for your feedback. I am glad you found this post useful. Have to admit, your solution was quite creative, in mine I was not thinking outside of SAS box ☺.