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

sas-innovate-2024.png

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.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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