Page 1 of 1

Error notification

Posted: Wed Oct 09, 2019 3:15 am
by fi99ggb
Hello

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?

Thanks
George

Re: Error notification

Posted: Wed Oct 09, 2019 8:07 am
by EViews Gareth
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....)