Thanks for sticking with this problem. Unfortunately, the large number of columns isn't a design flaw, just the number of variables needed in the dataset (there are also quite a few observations). So I have to work with them, and the column order has been created in consideration of survey order. I can't share any of the data, either, but I can post a representation of it - keeping in mind any solution that would require reformatting a column individually wouldn't scale from a few columns to 1,000. It's comma delimited, so the raw text of csv would look as below. The two other languages I've used, R and Python, both have ways to indicate NULL/NA character strings included in basic operations for reading in data, so I'm kind of mystified this isn't available in SAS. ISOUTSIDE,EATDRYFOOD,TYPE,OTHERTYPE,ISFRIENDLY
1,1,dog,,.
1,.,dog,,.
1,.,cat,,.
0,.,dog,,.
0,.,,,.
0,.,,My pet's name is Jeffrey,.
.,.,unknown,,.
.,1,dog,,.
.,1,dog,,1
1,0,cat,,0
1,0,cat,,1
1,0,elf,,1
... View more