BookmarkSubscribeRSS Feed
Q1983
Lapis Lazuli | Level 10

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?

3 REPLIES 3
Reeza
Super User

It's probably in an AutoCall Library.

See the options to find the macro in the paper below.

http://analytics.ncsu.edu/sesug/2005/AD07_05.PDF

Tom
Super User Tom
Super User

Try setting MAUTOLOCDISPLAY option.

SAS(R) 9.2 Macro Language: Reference

Peter_C
Rhodochrosite | Level 12

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).

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1521 views
  • 0 likes
  • 4 in conversation