vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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! |
| ||||
| Killwind wrote: > 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! > > > > > > > > Um, older version at work -- no mint, no int4? Change 'em to int and see what happens. |