3 static char *
_Cn2 =
"sensorcursor";
static _SQCURSOR *
_SQ2 = 0;
4 static char *
_Cn1 =
"selectsensor";
static _SQCURSOR *
_SQ1 = 0;
13 #line 1 "/usr/informix/incl/esql/sqlca.h"
87 #define SQLNOTFOUND 100
95 int err, flow, warning,
i,
j;
119 _iqdbase(
"rawdb", 0);
170 static struct sqlvar_struct _sqibind[] =
172 { 100, 10, 0, 0, 0, 0, 0, 0, 0 },
175 static struct sqlda _SD0 = { 1, _sqibind, 0, 1, 0 };
181 _iqdcopen(
_SQ2, &_SD0, (
char *)0, (
char *)0, 1);
188 if ((
fp = fopen(
"rc",
"w"))== NULL)
189 printf(
"\nunable to open rc\n");
200 static struct sqlvar_struct _sqobind[] =
202 { 100, 10, 0, 0, 0, 0, 0, 0, 0 },
205 static struct sqlda _SD0 = { 1, _sqobind, 0, 1, 0 };
206 static _FetchSpec _FS1 = { 0, 1, 0 };
208 _sqobind[0].sqldata = ihb5;
212 _iqcftch(
_SQ2, (
struct sqlda *)0, &_SD0, (
char *)0, &_FS1);
222 printf(
"\nihb5 is %s\n", ihb5);
228 fprintf(
fp,
"\n%s REPLHQ\n %d ENGL %5.2lf",
RatingTable getrc(char *, char, char, int, int *)
static RatingTable rate_table
printf("fbuf is %s\n", fbuf)
fprintf(fp,"%d %d %d %d 1\n", iminx, iminy, maxi, maxj)
struct sqlca_s::sqlcaw_s sqlwarn