In reply to Bob Drozd.

Your comment motivated me to revisit the PROC IML program and make it more efficient. The program now runs in 3 minutes instead of three hours. Thanks for the gentle push.