As a general advice do not nest macro definitions, but keep each macro definition separate
check whether the ODS ... FILE=...; some proc ODS ... CLOSE;
are placed correctly
Test the your macros with simple code first
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and save with the early bird rate—just $795!