L
Laura Stern
Guest
Oh. So you are not talking about what goes into the AppServer log. You are talking about what gets sent back to the Open Client code. In that I totally agree with you. Or I should say WE totally agree with you. In version 12, we have already fixed this, but so far only for Java Open clients. i.e,. Error objects can now be serialized back to the client and you will get the error message and error number on the client side. So you would leave in your BLOCK-LEVEL ON ERROR UNDO, THROW directive and would not need your special CATCH block logic anymore. Unfortunately, we have not done it yet for .NET Open clients, but it is on the roadmap. You can press product management to make this a higher priority. And until that happens, at least you should avoid getting error 14438 by removing the BLOCK-LEVEL directive from your top-level server procedures. Then you will at least see the error message in the AppServer log file even if it doesn't make it back to the client.
Continue reading...
Continue reading...