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


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 -808

   
 
  • Causa
    • THE CONNECT STATEMENT IS NOT CONSISTENT WITH THE FIRST CONNECT STATEMENT.

      The CONNECT semantics that apply to an application process are determined by the first CONNECT statement executed (successfully or unsuccessfully) by the application process.
      One of the following rules was violated:
      • A type 2 CONNECT statement cannot be executed after a type 1 CONNECT statement was executed.
      • A type 1 CONNECT statement cannot be executed after a type 2 CONNECT statement was executed.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • The probable cause of this error is that different programs in the application process were precompiled with different CONNECT options.

      Ensure that the application process uses either type 1 or type 2 CONNECT statements and then resubmit the job.
      The type of CONNECT to be used is a precompiler option.
      The default is type 2 CONNECT.

      SQLSTATE: 08001
© Copyright IBM Corp.