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


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

   
 
  • Causa
    • object-type object-name ATTEMPTED TO EXECUTE AN SQL STATEMENT DURING FINAL CALL PROCESSING.

      A user-defined function named object-name was invoked and attempted to execute an SQL statement (other than CLOSE CURSOR) during final call processing, but the statement is not allowed.
  • Ação do sistema
    • The SQL statement cannot be executed.
  • Resposta ao Desenvolvedor
    • Change the definition of the function to not issue SQL statements during final call processing.

      SQLSTATE: 38505

© Copyright IBM Corp.