Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

-818

Load module and package timestamps differNEGATIVE SQLCODE · CHECKED 2026-11-14
Checked against IBM documentation

The precompiler timestamp in the application load module does not match the bind timestamp stored from the DBRM, so the SQL statement cannot run.

QUICK ANSWER

The precompiler timestamp in the application load module does not match the bind timestamp stored from the DBRM, so the SQL statement cannot run.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The program was precompiled, compiled and linked, but not bound.
  2. The program was precompiled and bound, but not compiled and linked.
  3. The bind used a DBRM from a different precompile than the one behind the linked object module.

CHECKED 14 Nov 2026 IBM: Db2 13 for z/OS: SQLCODE -818 (Db2 for z/OS 13.0.0)

MOST LIKELY

The program was precompiled, compiled and linked, but not bound.

FIRST CHECK

Bind the application again using the DBRM that matches the load module.

TRY IT ▸

Site search

What it means

The timestamp stored in the load module differs from the one stored in the plan or package. This means the DBRM and the program were not produced by the same precompile. SQLSTATE is 51003.

Both timestamps in the message are Db2 internal values with no external interpretation.

Typical causes

  • The program was precompiled, compiled and linked, but not bound.
  • The program was precompiled and bound, but not compiled and linked.
  • The bind used a DBRM from a different precompile than the one behind the linked object module.

How to fix it

  1. Bind the application again using the DBRM that matches the load module.
  2. Confirm the DBRM, compile and link all come from the same precompile run.