First, you have to appreciate that this is a different error message. The cause would be something different than what happened the first time.
Second, if you ran this on sashelp.class, that confirms that the code you ran is different than what you posted. I would check for other differences, especially a missing equal sign. It could be on a missing equal sign when defining the macro (on the %macro cap statement), or it could be a missing equal sign when calling the macro (in the construction of the variable STRING).
... View more