COBOL · DB2 SQLCODE

SQLCODE -818

What does SQLCODE -818 mean in COBOL?

Bind timestamp mismatch. The timestamp the precompiler generated into the load module does not match the bind timestamp built from the DBRM, meaning the program running does not match what was bound.

SQLCODE -818DB2 for z/OS · Db2 (embedded SQL in COBOL)

Condition

Bind timestamp mismatch. The timestamp the precompiler generated into the load module does not match the bind timestamp built from the DBRM, meaning the program running does not match what was bound.

Fix

Recompile and rebind the program, and confirm the job is loading the executable from the same library the current bind was built against, not an older copy left in STEPLIB.

Pending source verification. Not yet checked against official documentation.

Related db2 sqlcode