I have created a stored procedure that call a CLP in which there is a STRQMQRY for creating a file in output.
this is the command of creation:
CREATE PROCEDURE TESMC/WP3007P
(IN SALD CHAR ( 1), IN ORDIN CHAR (1))
LANGUAGE CL NOT DETERMINISTIC
MODIFIES SQL DATA
EXTERNAL NAME 'TESMC/WP3007' PARAMETER STYLE GENERAL
when I execute the stored procedure it gave me an error
this is the error (the original in Italian and translated in English):
IN ITALIAN:
Il programma trigger o una routine esterna ha rilevato un errore.
Il collegamento non puo essere modificato. Codice causa 4.
Il comando START non e riuscito con SQLCODE -752.
Il comando START ha avuto esito negativo a causa di errori.
Il comando STRQMQRY non e riuscito.
Errore di funzione. QWM2701 non e stato controllato da WP3007 alla
specifica 6500, istruzione X'0085'.
IN ENGLISH:
ID messaggio . . . . . : CPA0701
The trigger program or an external routine has noticed an error.
The connectione can't be modified. Reason code 4.
The START command didn't function with SQLCODE -752.
The START command didn't function for errors.
The STRQMQRY command didn't function.
Function error. QWM2701 has not been controlled by WP3007 at line 6500 statement X'0085'.
Note that the problem is not in the cl because if I execute directly the cl from prompt there are no problem.
Someone could help me thank you
Lorenzo
Italy
ASKED:
Oct 26, 2005 12:15 AM GMT
UPDATED:
October 27, 2005 11:02:04 AM GMT