Given Doc&Duke's correction. There are still a couple of things that I do not understand about your program. I suspect that there is a misunderstanding of the use of the macro language vs the DATA step.
Notice that you are attempting to place a series of macro variables in the global symbol table, but you have not given them a value. If they were loaded somewhere else (outside of the code piece that we were shown), then there is no need to use the %GLOBAL statement.