BookmarkSubscribeRSS Feed
Ditza
Calcite | Level 5

Hi,

I want to add special notes e.g. "MERGE statement has more than one data set with repeats of BY values"

as separate category at log summery

Does there is option to do that?

 

2 REPLIES 2
CaseySmith
SAS Employee

Hi @Ditza,

 

The Log Summary currently only summarizes errors, warnings, and notes.  (It does not support custom categories.)  However, you can generate your own errors, warnings, or notes with code such as:

 

%put NOTE: MERGE statement has more than one data set with repeats of BY values;

%put WARNING: MERGE statement has more than one data set with repeats of BY values;

%put ERROR: MERGE statement has more than one data set with repeats of BY values;

 

Resulting in:

screenshot.png

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

Ditza
Calcite | Level 5

Hi,

 

Thank for your answer.

 

To do what you said I guess I need to write the log to file and scan it to search for those errors.

Dose there is a simply why?

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 700 views
  • 0 likes
  • 2 in conversation