Thanks! Very interesting trick that I have never seen. It's amazing how you can have been a SAS programmer for so many years and still learn something new!