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


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

   
 
  • Causa
    • CALL ATTACH WAS UNABLE TO ESTABLISH AN IMPLICIT CONNECT OR OPEN TO DB2. RC1= rc1 RC2= rc2. Call attach attempted to perform an implicit connect and open as the result of an SQL statement.
      The connect or open failed with the returned values.
      rc1
      The value returned in FRBRC1 for the failed CONNECT or OPEN request.
      rc2
      The value returned in FRBRC2 for the failed CONNECT or OPEN request.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • Verify that the application intended to use the call attachment facility (CAF) as the mechanism to connect to DB2.
      For functions or stored procedures running in the WLM-established stored procedure address space the application must be link-edited with or dynamically allocate the RRS attachment language interface module (DSNRLI), not CAF.

      SQLSTATE: 57015
© Copyright IBM Corp.