BookmarkSubscribeRSS Feed
SASPhile
Quartz | Level 8
Hi All,
I'm uing SAS 9.1 and would like to know if a error message can be displayed as popup.Not all users know how to read log messages.If we can show an error message on the screen it will be useful.
SASPhile.
2 REPLIES 2
DanielSantos
Barite | Level 11
Not easy to do, at least from what I'm aware.

One thing that I remember, and that might do the trick, is to pre-process your script with some code that will capture the log, and the post-process with some other that will parse the log and pop a message through the %window macro.

Of course, you should make sure that the erroarabend options is not in order.

Here's some papers about the %window macro:
http://www2.sas.com/proceedings/sugi27/p192-27.pdf
http://www2.sas.com/proceedings/sugi25/25/cc/25p076.pdf
http://www2.sas.com/proceedings/sugi24/Coders/p091-24.pdf

Cheers from Portugal

Daniel Santos @ www.cgd.pt
Peter_C
Rhodochrosite | Level 12
another popup, built in to the old sas interface is the dm command [pre] postMessage 'your message'[/pre]
With suitable programming of the windows api you can provide a message pop-up with action buttons.

good luck
PeterC

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