is ID a variable? Perhaps you wanted cat(" ",handler, id)
Otherwise you're going to have to provide some details of what your data is currently and what you expect the output to look like.
If you want a space between variables then you likely want the CATX function, not CAT.
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.