Where Do I Look for Error Information?

There are many places from which an error can originate: the operating system, the database, an application, the Lawson environment, or the presentation layer itself. Fortunately, the IBM DB2 database has an extensive set of error checking and interpreting routines designed to help identify where the problem may originate. When the IBM DB2 database encounters such an error, it passes the error back to the ibmdb database driver, which either relays the message back to the screen, out to a log file, or both.

The best place to look for information regarding an error is in the log file:

%LAWDIR%\system\ladb.log

This file can be examined using a text editor.

Lawson also supplies a utility, named vwdblog, that opens up the ladb.log file in the Lawson editor and moves to the end of the file. You can use this utility by typing vwdblog at the command prompt.