Compiling

This section provides you with solutions to some messages you might receive when you try to compile Lawson applications.

Message

“bldpgm -cm program_name error: is not generatable.”

Possible cause

The Allow Generation For flag in Program Definition is set to None.

Solution

Set the Allow Generation For flag to Lawson 4GL.

__________________________________________________________

Message

“Load failure” error when running an application.

Possible cause

The system cannot find the program, or the program is compiled with different versions.

Solution

If the program is not found, compile the program. If the program is compiled with different versions, run cmprts, stop and start the Lawson system, and then runcobcmp -nc productline .

__________________________________________________________