3 static char *
_Cn1 =
"hb5cursor";
static _SQCURSOR *
_SQ1 = 0;
4 #line 1 "hb5_search.ec"
9 #line 2 "hb5_search.ec"
10 #line 1 "/usr/informix/incl/esql/sqlca.h"
84 #define SQLNOTFOUND 100
87 #line 3 "hb5_search.ec"
93 #line 5 "hb5_search.ec"
122 #line 33 "hb5_search.ec"
141 #line 48 "hb5_search.ec"
143 #line 48 "hb5_search.ec"
144 static struct sqlvar_struct _sqibind[] =
146 { 100, 50, 0, 0, 0, 0, 0, 0, 0 },
147 #line 48 "hb5_search.ec"
149 static struct sqlda _SD0 = { 1, _sqibind, 0, 1, 0 };
150 #line 48 "hb5_search.ec"
152 #line 48 "hb5_search.ec"
154 #line 48 "hb5_search.ec"
155 _iqdcopen(
_SQ1, &_SD0, (
char *)0, (
char *)0, 1);
156 #line 48 "hb5_search.ec"
167 #line 55 "hb5_search.ec"
169 #line 55 "hb5_search.ec"
170 static struct sqlvar_struct _sqobind[] =
172 { 100, 6, 0, 0, 0, 0, 0, 0, 0 },
173 { 100, 9, 0, 0, 0, 0, 0, 0, 0 },
174 { 100, 9, 0, 0, 0, 0, 0, 0, 0 },
175 { 100, 9, 0, 0, 0, 0, 0, 0, 0 },
176 { 100, 2, 0, 0, 0, 0, 0, 0, 0 },
177 { 100, 51, 0, 0, 0, 0, 0, 0, 0 },
178 { 100, 41, 0, 0, 0, 0, 0, 0, 0 },
179 { 100, 9, 0, 0, 0, 0, 0, 0, 0 },
180 { 100, 7, 0, 0, 0, 0, 0, 0, 0 },
181 { 100, 8, 0, 0, 0, 0, 0, 0, 0 },
182 { 102,
sizeof((
btn_rec).
elev), 0, 0, 0, 0, 0, 0, 0 },
183 { 100, 3, 0, 0, 0, 0, 0, 0, 0 },
184 { 100, 9, 0, 0, 0, 0, 0, 0, 0 },
185 { 100, 4, 0, 0, 0, 0, 0, 0, 0 },
186 { 100, 5, 0, 0, 0, 0, 0, 0, 0 },
187 { 100, 7, 0, 0, 0, 0, 0, 0, 0 },
188 { 100, 4, 0, 0, 0, 0, 0, 0, 0 },
189 { 100, 7, 0, 0, 0, 0, 0, 0, 0 },
190 { 100, 4, 0, 0, 0, 0, 0, 0, 0 },
191 { 102,
sizeof((
btn_rec).post), 0, 0, 0, 0, 0, 0, 0 },
192 #line 55 "hb5_search.ec"
194 static struct sqlda _SD0 = { 20, _sqobind, 0, 20, 0 };
195 static _FetchSpec _FS1 = { 0, 1, 0 };
196 #line 55 "hb5_search.ec"
197 _sqobind[0].sqldata = (
btn_rec).
id;
198 #line 55 "hb5_search.ec"
199 _sqobind[1].sqldata = (
btn_rec).plat;
200 #line 55 "hb5_search.ec"
201 _sqobind[2].sqldata = (
btn_rec).aid;
202 #line 55 "hb5_search.ec"
203 _sqobind[3].sqldata = (
btn_rec).aid2;
204 #line 55 "hb5_search.ec"
205 _sqobind[4].sqldata = (
btn_rec).type;
206 #line 55 "hb5_search.ec"
207 _sqobind[5].sqldata = (
btn_rec).des;
208 #line 55 "hb5_search.ec"
209 _sqobind[6].sqldata = (
btn_rec).det;
210 #line 55 "hb5_search.ec"
211 _sqobind[7].sqldata = (
btn_rec).init;
212 #line 55 "hb5_search.ec"
214 #line 55 "hb5_search.ec"
215 _sqobind[9].sqldata = (
btn_rec).lng;
216 #line 55 "hb5_search.ec"
217 _sqobind[10].sqldata = (
char *) &(
btn_rec).elev;
218 #line 55 "hb5_search.ec"
219 _sqobind[11].sqldata = (
btn_rec).stat;
220 #line 55 "hb5_search.ec"
221 _sqobind[12].sqldata = (
btn_rec).huc1;
222 #line 55 "hb5_search.ec"
223 _sqobind[13].sqldata = (
btn_rec).cou;
224 #line 55 "hb5_search.ec"
225 _sqobind[14].sqldata = (
btn_rec).zon;
226 #line 55 "hb5_search.ec"
227 _sqobind[15].sqldata = (
btn_rec).ownag;
228 #line 55 "hb5_search.ec"
229 _sqobind[16].sqldata = (
btn_rec).ownloc;
230 #line 55 "hb5_search.ec"
231 _sqobind[17].sqldata = (
btn_rec).maintag;
232 #line 55 "hb5_search.ec"
233 _sqobind[18].sqldata = (
btn_rec).maintloc;
234 #line 55 "hb5_search.ec"
235 _sqobind[19].sqldata = (
char *) &(
btn_rec).post;
236 #line 55 "hb5_search.ec"
238 #line 55 "hb5_search.ec"
239 _iqcftch(
_SQ1, (
struct sqlda *)0, &_SD0, (
char *)0, &_FS1);
240 #line 55 "hb5_search.ec"
256 #line 67 "hb5_search.ec"
258 #line 67 "hb5_search.ec"
259 #line 67 "hb5_search.ec"
261 #line 67 "hb5_search.ec"
263 #line 67 "hb5_search.ec"
int hb5_search(int dbase, char *cstr, struct stn_rec *stn_record)
struct sqlca_s::sqlcaw_s sqlwarn