Re: ProC problem

From: Lothar Dickhoff <dickhofl_at_ada.de>
Date: Fri, 31 Aug 2001 14:08:28 +0200
Message-ID: <37Lj7.3$P92.141_at_news.ecrc.de>


[Quoted] puma schrieb in Nachricht <9mnqhs$q499_at_intra09.infocamere.it>...
>Hi all,
>I'm facing a problem with a ProC code.
>I have this piece of code:
>
>struct mystruct {
> char myfield1[10],
> char myfield2[10]
>} mypointer;
>
>EXEC SQL INSERT INTO MYTABLE
> VALUES (:mypointer);
>
>this code is identical to the examples found in documentation...but
>precompiler stops in execution beacause mypointer is undefined identifier!
>Are there some option to pass to precompiler to resolve this problem...
>thanks in advance!
>
>
>

Hi puma,

what´s about:
EXEC SQL BEGIN DECLARE SECTION;
and
EXEC SQL END DECLARE SECTION;
?

Regs, Lothar Received on Fri Aug 31 2001 - 14:08:28 CEST

Original text of this message