What it means
The attachment code that links your program to Db2 hit an internal error, so no connection was made. The message carries a function code, a return code and a Db2 reason code that identify the problem.
Do not keep running SQL after -924: results are unpredictable.
Typical causes
- A problem in the attachment facility used (TSO, CAF, RRSAF, CICS or IMS).
- Mismatched or wrong Db2 load libraries in the job's STEPLIB or the region.
- An environment problem that stops the connection from being set up.
How to fix it
- Note the function code, return code and reason code from the message.
- Look up the reason code in the Db2 reason codes documentation.
- Check that the job or region uses the correct Db2 load libraries for this subsystem.
- Collect the job log and SYSLOG and contact the Db2 system programmer if the cause is not clear.