PL/I · DB2 SQLCODE

SQLCODE -716: Program Precompiled with Incorrect Level for This Release

What does SQLCODE -716: Program Precompiled with Incorrect Level for This Release mean in PL/I?

The DBRM used to bind the plan or package was produced by a precompiler or DB2 level the running subsystem no longer supports, or the DBRM was altered after precompilation — common after a DB2 version upgrade when old DBRMs weren't regenerated.

SQLCODE -716: Program Precompiled with Incorrect Level for This ReleaseDB2 for z/OS · PL/I (embedded SQL)

Condition

The DBRM used to bind the plan or package was produced by a precompiler or DB2 level the running subsystem no longer supports, or the DBRM was altered after precompilation — common after a DB2 version upgrade when old DBRMs weren't regenerated.

Fix

Re-precompile the PL/I source with the current DB2 precompiler and rebind, rather than reusing an old DBRM against the upgraded subsystem.

Related db2 sqlcode