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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 831 views
  • 0 likes
  • 4 in conversation