Error notification

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

Posts: 25
Joined: Tue Jul 02, 2019 4:05 am

Error notification

Postby fi99ggb » Wed Oct 09, 2019 3:15 am


I have a program that runs daily and would like to be able to set up an automatic process that notifies me whether a program runs as intended. For example, if the data structure does not satisfy some conditions, I would like EViews to stop and create a message that tells me that something is wrong. Is there any functionality that would allow me to do that or something similar?


EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12459
Joined: Tue Sep 16, 2008 5:38 pm

Re: Error notification

Postby EViews Gareth » Wed Oct 09, 2019 8:07 am

You can use the @uiprompt command to pause the program and issue a message to the user.

Or you can use logmsg.

If you want to get really fancy with stuff outside of EViews, you could use logmsg to write a text file to disk containing information on how the process went, then have an external program that is looking for that file parse it and do things (with something like IFTTT you could have a notification on your smart watch, or have Alexa notify you etc....)
Follow us on Twitter @IHSEViews

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 11 guests