Hi Chris

as ever, your blog demands support and prompts response: (although here, I probably add little improvement to your concise code)
for making a column header into a "SAS name literal!", (and only) when required, have a look at the NLITERAL() function.

Peter