SQL - SQLCODE's - Códigos negativos -900


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

SQLCode -900

   
 
  • Causa
    • THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE THE APPLICATION PROCESS IS NOT CONNECTED TO AN APPLICATION SERVER.

      A previous failure has placed the application process in the unconnected state.
      The only SQL statements that can be successfully executed from the unconnected state are CONNECT, COMMIT, ROLLBACK, and local SET statements.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • It is possible that no response is required because checking for -900 is one way of detecting the unconnected state.
      If this is not the case, the logic of the application program must be changed.
      For additional information, see the description of the CONNECT statement in Chapter 5 of DB2 SQL Reference .

      SQLSTATE: 08003
© Copyright IBM Corp.