In reply to Bob Drozd.

Thanks for the DATA step, Bob. In a previous article, many people submitted ways to use the DATA step (and other techniques) to efficiently search for a pattern in a large data set, but I do not think I have seen the INPUT function with the '??' option used for this purpose. Very interesting technique.