Thread: ESQL/C Error
View Single Post

   
  #1 (permalink)  
Old 04-19-2008, 06:13 PM
Killwind
 
Posts: n/a
Default ESQL/C Error

HI :

My program is used the ESQL/C; at my home I can compile the program
dbtool.ec to the dbtool.o;
But in my office's host I compile my program; I got error like :
esqlc: "dbtool.ec", line 236: Error -33200: Invalid statement on
symbol 'mint'.
esqlc: "dbtool.ec", line 238: Error -33200: Invalid statement on
symbol 'int4'.

My Program Text :

EXEC SQL BEGIN DECLARE SECTION;
char sql_cmd[8192];
char sel_id[8192];
char asn[8192];
int col_number;
char name[40];
int i;
mint int_data; /* Line Num 236 */
char *char_data;
int4 date_data;
datetime dt_data;
interval intvl_data;
decimal dec_data;
double double_data;
short short_data;
short char_len, type, ind;
unsigned char **ptr;
EXEC SQL END DECLARE SECTION;


Why and how to do? Who can help me?

Thanks!








Reply With Quote