← All errors

SQLCODE -443

SQL0443 Trigger program or external routine detected an error

IBM message text
Trigger program or external routine detected an error.
SQLCODE
-443
SQLSTATE
38501

Most common cause

An external program (RPG, CL, Java) used as a trigger, procedure or function failed and returned the error to SQL.

Other causes

  • The external program cannot be found or is not authorized.
  • Many IBM i SQL services return their errors this way: a missing special authority, or an object that is not there (the message text says so).

How to fix it

Look at the job log of the job that ran the SQL: for remote connections it is a QZDASOINIT job. The real error is there, or in the message text.

Related errors

Text and codes from IBM documentation for 7.6. Checked on .