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

-440

No routine found for the name and argumentsNEGATIVE SQLCODE · CHECKED 2026-11-14
Checked against IBM documentation

Db2 could not resolve a routine call, including its argument list, to an authorized routine definition.

QUICK ANSWER

Db2 could not resolve a routine call, including its argument list, to an authorized routine definition.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The routine name is wrong or the routine does not exist.
  2. The schema qualifier is wrong.
  3. An unqualified reference is used and the SQL path lacks the routine's schema.
  4. The number or data types of the arguments are wrong.
  5. The invoker is not authorized to execute the routine.
  6. An unsupported capability is used for the current application compatibility level.

CHECKED 14 Nov 2026 IBM: Db2 13 - Codes - SQLCODE -440 | Db2 for z/OS 13.0.0

MOST LIKELY

The routine name is wrong or the routine does not exist.

FIRST CHECK

Find the invocation of the named routine and check that it resolves to the intended routine.

TRY IT ▸

Site search

What it means

An attempt to invoke a function or procedure could not be matched to a specific routine that the caller may use.

The statement is not processed.

Typical causes

  • The routine name is wrong or the routine does not exist.
  • The schema qualifier is wrong.
  • An unqualified reference is used and the SQL path lacks the routine's schema.
  • The number or data types of the arguments are wrong.
  • The invoker is not authorized to execute the routine.
  • An unsupported capability is used for the current application compatibility level.

How to fix it

  1. Find the invocation of the named routine and check that it resolves to the intended routine.
  2. Use a qualified routine name wherever possible.
  3. Check the arguments and the invoker's authority to execute the routine.
  4. Rebind at a compatibility level that supports the capability, or remove the unsupported capability.
  5. For passthrough-only expressions, set CURRENT QUERY ACCELERATION to ELIGIBLE, ENABLE or ALL.