I am trying to format a macro call from within a datastep using the call execute statement. I have not figured out how to format the parameter.
The parameter needed is a list of quoted strings:
When I EXECUTE I get the following error:
ERROR: More positional parameters found than defined.
So apparently my list is being interpretted as 4 parameters rather than one.
How can I get this parameter to pass through OK?
CALL EXECUTE ( '%getInfo(' || cust_nbrs || ');');
No, that does nothing, I tried all the functions like that I could find. Only work around I could come up with is to create indexed global variables for each parameter string, and then call the macro with each global parameter after the data step is done. What a pain!!!