Hello! Thanks for fast answer!
I want to write my own macro for updating some table with columns a, b and c.
%macro updateTable(set=,where=);
...
%mend;
Business user can use this macro to update the table. Example:
%updateTable(set=%bquote(a=a+1, b=b+2),where=%bquote(c in ('1','2','3')));
Macro updates the table according to user instructions and make some additional transformations.
But user can make an error in some parameter. Ex. forget bracket:
%updateTable(set=%bquote(a=a+1, b=b+2),where=%bquote(c in ('1','2','3')) <-- one bracket has been lost
I want to assign where = c in ('1', '2', '3' in this case and process this exceptional situation with my own algorithm.
Is it possible?
Thanks!
... View more