Errors and IFI

You might encounter certain errors while using the instrumentation facility interface (IFI).

Begin program-specific programming interface information.
  • Connection failure, because the user is not authorized to connect to Db2
  • Authorization failure, because the process is not authorized to access the Db2 resources specified

IFI request failures

Requests sent through IFI can fail for a variety of reasons, including:

  • One or more parameters are invalid.
  • The IFCA area is invalid.
  • The specified OPn is in error.
  • The requested information is not available.
  • The return area is too small.

Return code and reason code information is stored in the following instrumentation facility communication area (IFCA) fields:

IFCARC1
Return codes.
IFCARC2
Reason codes.

End program-specific programming interface information.