LANSA Open, by itself, can trap and display the errors which can occur in a session. To enable the default error handler: iRet = LceDisplayErrors(LceTrue, 0)