PL/I · DB2 SQLCODE
What does SQLCODE -904: Unsuccessful Execution Caused by an Unavailable Resource mean in PL/I?
A resource the PL/I program's SQL statement needed — a table space, buffer pool, DBD, or similar — wasn't available, often because it's stopped, being reorganized, or was never started after a DB2 restart.
A resource the PL/I program's SQL statement needed — a table space, buffer pool, DBD, or similar — wasn't available, often because it's stopped, being reorganized, or was never started after a DB2 restart.
Check the reason code and resource name against DB2's resource-unavailable reason codes, and have the DBA START the resource, or wait out the reorg or utility, before retrying.