@Quentin Yes, I was simply trying to make my program resemble the OP's. For more of my thoughts on SYMPUTX and SYMGET (albeit in the context of PROC IML, which is an interactive procedure), see my blog post from 2013:
https://blogs.sas.com/content/iml/2013/06/19/macros-and-loops.html
... View more