| |
- Causa
- THE DESCRIBE FOR STATIC STATEMENT DOES NOT IDENTIFY A PREPARED STATEMENT.
An attempt was made to execute a DESCRIBE FOR STATIC for a statement that had not been successfully prepared beforehand.
This error can occur when the DESCRIBE originates on an application requester that supports extended dynamic SQL.
Because the target statement is static on the DB2 for MVS/ESA subsystem, the DESCRIBE statement fails.
- Ação do sistema
- Ação do sistema: O comando não pode ser executado.
- Resposta ao Desenvolvedor
- Correct the logic of the application program to ensure that a statement is properly prepared before a DESCRIBE FOR STATIC of the statement
is attempted.
If the DESCRIBE FOR STATIC is a distributed request that originated on a system that supports extended dynamic SQL, contact your system
administrator about changing the DB2 subsystem parameter DESCSTAT to YES to tolerate these DESCRIBE FOR STATIC requests against static SQL.
SQLSTATE: 26501
© Copyright IBM Corp.
|
| |