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:
'0001','0002','0003','0004'
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?
my code:
CALL EXECUTE ( '%getInfo(' || cust_nbrs || ');');