SQL - SQLCODE's - Códigos negativos -056
Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com
SQLCode -056
Causa
AN SQLSTATE OR SQLCODE VARIABLE DECLARATION IS IN A NESTED COMPOUND STATEMENT
An SQLSTATE or SQLCODE variable declaration is in a nested compound statement instead of the outermost compound statement in the SQL routine.
Ação do sistema
The statement cannot be processed.
Resposta ao Desenvolvedor
Change the routine definition so that the SQLSTATE and SQLCODE variables are only declared in the outermost compound statement of the SQL routine.
SQLSTATE: 42630
© Copyright IBM Corp.