HI all, I have a macro that resolves a "&&byyear&i" into "E&M Nephrologist" and SAS keeps trying to resolve the & in E&M. There's no error, just a warning in the log, but due to the fact that it's in code that takes a while to run, i have set it up to check &syserr and only continue when syserr=0. But warnings are not zeros, so the code is stopping. So i've updated the code that looked only for syserr=0 and changed it to syserr in (0 4), but it got me to thinking, is there a way to tell sas to ignore the & in the E&M, while at the same time, not ignore the &&byyear&i? I need the &&byyear&i in double quotes or it won't resolve. Any ideas?
... View more