I have been assigned to troubleshoot why a program will not run. I know the issue. It is an email script that is housing too many emails.
Sample error message
Email address:marcsmith@yahoo.com jansmith@yahoo.com.......etc
is too long 256 character limit
The macro looks like this
%email_out(110,msglist,);
I am trying to locate the path for the above macro to modify or remove some of the email addresses. The program references the location however this macro is no where to be found. Is there a code that gives location for macro, much like option symbolgen gives descriptive information?
It's probably in an AutoCall Library.
See the options to find the macro in the paper below.
Try setting MAUTOLOCDISPLAY option.
When debugging macros I use
OPTION MLOGIC MPRINT SYMBOLGEN MLOGICNEST ;
Without these options set, debugging macros remains guesswork.
MLOGIC has the added convenience that it reports from where an autocall macro had been loaded ( like mautolocdisplay).
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.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.