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?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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