If a DMS (Data Management System) error occurs while writing LPUT records in the user log file, then openUTM outputs message K043, which contains a DMS error code. You can determine the reason for the error with this error code.
At the same time, every additional LPUT call in the program unit is rejected with the KDCS return code 40Z (internal return code K903).
The administrator of the application can then correct, restore or recreate the user log file or its generations.
The administrator must issue the KDCLOG administration command or a KDCADMI call with opcode KC_USLOG so that openUTM can write LPUT records to the user log file again (see the openUTM manual “Administering Applications”).
The file generation number is incremented. The LPUT records saved in the page pool of the KDCFILE are subsequently written to the log file(s). The lock for LPUT calls in the program units is released.