togori
8th October 2009, 00:01
Hi, i hope you are fine

I have a program (3gL) which calls a standar object and when I execute the 3GL program in one of the funcions from
the standar object shows me a message.

The 3GL program runs from a shell and when the message is shows the shell execution never finish, because the
message stops the process until it is accept.

So I ask, please, for your help to know if is possible to catch the message and not to show it, if my I do not have a session??
Is posible to kill the process ottstpmsg or how can I control it??

I know if I use API's the message are under control but the version of BaanIV (B40Cb1) that I work does not have that
functionality.

I appreciate a lot your help and attention

Regards

Ricardo

Hitesh Shah
9th October 2009, 18:06
When in job baan standard program ignores messages and copies the same to job history . If u want the same in a 4gl session and want the message comes at bottom , u can use mess() function .

If in 3GL session without form , u want message to be redirected , u can write the same to a file in $BSE/log which u can view through ttstperrlog later on with date/time/user etc .

There is no need to kill ottstpmsg.

togori
14th October 2009, 17:54
Thanks Hitesh, for you comments.

I have some questions about your information,
Is posible to simulate the funtionaliti for a job in a 3GL program, this is with the objective to get the message and not to stop the process?
In a 4GL program is possible to not have the message come at bottom and rediretec to a file?
For your last comment to redirect the message in a 3GL program, how can i do that??.

I appreciate a lot your help and attention.

Regards

Ricardo