The statement is not processed and the connection to Db2 is not established. The message names an error type: user authorization, plan access, duplicate exit, installation error or connect.
Typical causes
USER AUTHORIZATION: the authorization ID given through the attachment facility is not valid for Db2.
PLAN ACCESS: the ID is not authorized for the plan, or the plan does not exist.
DUPLICATE EXIT: a duplicate exit was requested.
INSTALLATION ERROR: a connection or sign-on exit denied the request.
CONNECT: an SQL CONNECT with USER/USING failed to connect to the local Db2.
How to fix it
For user authorization, contact the system programmer or the CICS, IMS or TSO administrator.
For plan access, ask the administrator to authorize the ID for the plan or fix the plan name.
For installation error, see your system programmer about the exit.
Look up the reason code for the failure details.
After a CONNECT failure only CONNECT, COMMIT, ROLLBACK and local SET statements work.