In reply to Ksharp.

Yes, this is similar to what my colleague did, although he constructed the binary string "manually" by applying the BINARY8. format. You can also use the DATA step version of the ALLCOMB function, as shown by @ballardw.