Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Shyama Somarajan — — source: Informix-list mailing list archive (1991-1998)
To all the Informix ESQL/C gurus out there:
The problem might be very silly for you, but I would appreciate if you
can help me out. I am learning Stored procedures and SPL. The program
looks like this:
#include <stdio.h>
$include sqlca;
$include sqlda;
main()
{
$database stores;
$create procedure from "Create_Procedure";
if (sqlca.sqlcode != 0)
printf("\\nSqlca.sqlcode=%d\\n",sqlca.sqlcode);
}
When I tried to compile using "c4gl try.ec", I am getting the following
error message:
fglc2:file "try.ec", line 269: Syntax error on identifier
'procedure'. (sqlhost.l)
The source for Create_Procedure is:
Create Procedure proc1()
update customer set customer_num=555 where customer_num=101;End Procedure;
I tried creating the procedure in DBAccess and it worked.
I am working with Informix 5.0 version on NEC workstations in Unix.
Any help will be appreciated. Thanks.
Shyama S.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.