You supply groupvar as tx_area1, but the macro tests for the contents of groupvar to not be tx_area1. This condition is obviously false, so nothing of the code inside the %do-%end blocks is created by the macro, and nothing happens. Only the ODS statements, which are outside the conditional block, are created by the macro and executed.
Similar happens for timevar.
... View more