If you havent go through the process of permanently storing the macro definition (see SAS(R) 9.2 Macro Language: Reference) you must have the macro definition in the program being run as batch.
Calling the macro is the same in batch or interactive SAS: %macroname(vars to pass);
EJ
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.