| |
- Causa
- O comando SQL não pode ser executado porque esta função está desabilitada por um erro anterior.
Execution of the SQL statement failed because the requested function had been disabled by a prior error.
This situation can arise if the application program has intercepted an abend (for instance, by an ON ERROR condition in a PL/I program) and
continued to execute SQL statements.
This situation may also arise if a DB2 CICS transaction encountered a create thread error yet continued to issue SQL requests without issuing
a SYNCPOINT ROLLBACK first.
- Ação do sistema
- The statement cannot be executed.
- Resposta ao Desenvolvedor
- In general, an application program should terminate upon receipt of this return code.
All subsequent attempts by the application to execute other SQL statements will also fail with the same return code.
In the case of a DB2 CICS transaction, if the SQLERRP field in the SQLCA contains the module name DSNCEXT1, the transaction may issue a SYNCPOINT
ROLLBACK and continue processing.
If the transactions chooses to ROLLBACK and continue processing, it must be capable of correcting the situation that caused the create thread error
to occur originally.
SQLSTATE: 51005
© Copyright IBM Corp.
|
| |