3 static const char _Cn1[] =
"loop";
23 int i,
j, zero_flow = 0;
268 static const char *sqlcmdtxt[] =
272 "set isolation to dirty read",
276 static ifx_statement_t _SQ0 = {0};
278 sqli_stmt(ESQLINTVERSION, &_SQ0, sqlcmdtxt, 0, (ifx_sqlvar_t *)0, (
struct value *)0, (ifx_literal_t *)0, (ifx_namelist_t *)0, (ifx_cursor_t *)0, -1, 0, 0);
284 strncpy(pe2,shef+1,1);
296 static const char *sqlcmdtxt[] =
300 "select * from rattbl where id = ? and pe1 = ? and pe2 = ? order by valid_date desc",
304 static ifx_sqlvar_t _sqibind[] =
306 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
307 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
308 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
311 static ifx_sqlda_t _SD0 = { 3, _sqibind, {0}, 3, 0 };
313 _sqibind[0].sqldata = id;
315 _sqibind[1].sqldata = pe1;
317 _sqibind[2].sqldata = pe2;
319 sqli_curs_decl_stat(ESQLINTVERSION, sqli_curs_locate(ESQLINTVERSION,
_Cn1, 512),
_Cn1, sqlcmdtxt, &_SD0, (ifx_sqlda_t *)0, 0, (ifx_literal_t *)0, (ifx_namelist_t *)0, 2, 0, 0);
328 sqli_curs_open(ESQLINTVERSION, sqli_curs_locate(ESQLINTVERSION,
_Cn1, 768), (ifx_sqlda_t *)0, (
char *)0, (
struct value *)0, 0, 0);
337 static ifx_sqlvar_t _sqobind[] =
339 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
340 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
341 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
342 { 102,
sizeof((table).tbl), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
343 { 102,
sizeof((table).valid_date), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
344 { 102,
sizeof((table).gs), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
345 { 102,
sizeof((table).src), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
346 { 102,
sizeof((table).fix), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
347 { 102,
sizeof((table).datacol), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
348 { 102,
sizeof((table).ver5), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
349 { 105,
sizeof((table).fld), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
350 { 105,
sizeof((table).wrn), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
351 { 105,
sizeof((table).hist_stg), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
352 { 102,
sizeof((table).hist_q), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
353 { 102,
sizeof((table).hist_date), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
354 { 102,
sizeof((table).spil), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
355 { 102,
sizeof((table).ded), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
356 { 102,
sizeof((table).cap), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
357 { 105,
sizeof((table).stg001), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
358 { 105,
sizeof((table).stg002), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
359 { 105,
sizeof((table).stg003), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
360 { 105,
sizeof((table).stg004), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
361 { 105,
sizeof((table).stg005), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
362 { 105,
sizeof((table).stg006), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
363 { 105,
sizeof((table).stg007), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
364 { 105,
sizeof((table).stg008), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
365 { 105,
sizeof((table).stg009), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
366 { 105,
sizeof((table).stg010), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
367 { 105,
sizeof((table).stg011), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
368 { 105,
sizeof((table).stg012), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
369 { 105,
sizeof((table).stg013), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
370 { 105,
sizeof((table).stg014), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
371 { 105,
sizeof((table).stg015), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
372 { 105,
sizeof((table).stg016), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
373 { 105,
sizeof((table).stg017), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
374 { 105,
sizeof((table).stg018), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
375 { 105,
sizeof((table).stg019), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
376 { 105,
sizeof((table).stg020), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
377 { 105,
sizeof((table).stg021), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
378 { 105,
sizeof((table).stg022), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
379 { 105,
sizeof((table).stg023), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
380 { 105,
sizeof((table).stg024), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
381 { 105,
sizeof((table).stg025), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
382 { 105,
sizeof((table).stg026), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
383 { 105,
sizeof((table).stg027), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
384 { 105,
sizeof((table).stg028), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
385 { 105,
sizeof((table).stg029), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
386 { 105,
sizeof((table).stg030), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
387 { 105,
sizeof((table).stg031), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
388 { 105,
sizeof((table).stg032), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
389 { 105,
sizeof((table).stg033), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
390 { 105,
sizeof((table).stg034), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
391 { 105,
sizeof((table).stg035), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
392 { 105,
sizeof((table).stg036), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
393 { 105,
sizeof((table).stg037), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
394 { 105,
sizeof((table).stg038), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
395 { 105,
sizeof((table).stg039), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
396 { 105,
sizeof((table).stg040), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
397 { 105,
sizeof((table).stg041), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
398 { 105,
sizeof((table).stg042), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
399 { 105,
sizeof((table).stg043), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
400 { 105,
sizeof((table).stg044), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
401 { 105,
sizeof((table).stg045), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
402 { 105,
sizeof((table).stg046), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
403 { 105,
sizeof((table).stg047), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
404 { 105,
sizeof((table).stg048), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
405 { 105,
sizeof((table).stg049), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
406 { 105,
sizeof((table).stg050), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
407 { 105,
sizeof((table).stg051), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
408 { 105,
sizeof((table).stg052), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
409 { 105,
sizeof((table).stg053), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
410 { 105,
sizeof((table).stg054), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
411 { 105,
sizeof((table).stg055), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
412 { 105,
sizeof((table).stg056), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
413 { 105,
sizeof((table).stg057), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
414 { 105,
sizeof((table).stg058), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
415 { 105,
sizeof((table).stg059), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
416 { 105,
sizeof((table).stg060), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
417 { 105,
sizeof((table).stg061), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
418 { 105,
sizeof((table).stg062), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
419 { 105,
sizeof((table).stg063), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
420 { 105,
sizeof((table).stg064), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
421 { 105,
sizeof((table).stg065), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
422 { 105,
sizeof((table).stg066), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
423 { 105,
sizeof((table).stg067), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
424 { 105,
sizeof((table).stg068), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
425 { 105,
sizeof((table).stg069), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
426 { 105,
sizeof((table).stg070), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
427 { 105,
sizeof((table).stg071), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
428 { 105,
sizeof((table).stg072), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
429 { 105,
sizeof((table).stg073), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
430 { 105,
sizeof((table).stg074), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
431 { 105,
sizeof((table).stg075), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
432 { 105,
sizeof((table).stg076), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
433 { 105,
sizeof((table).stg077), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
434 { 105,
sizeof((table).stg078), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
435 { 105,
sizeof((table).stg079), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
436 { 105,
sizeof((table).stg080), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
437 { 105,
sizeof((table).stg081), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
438 { 105,
sizeof((table).stg082), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
439 { 105,
sizeof((table).stg083), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
440 { 105,
sizeof((table).stg084), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
441 { 105,
sizeof((table).stg085), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
442 { 105,
sizeof((table).stg086), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
443 { 105,
sizeof((table).stg087), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
444 { 105,
sizeof((table).stg088), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
445 { 105,
sizeof((table).stg089), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
446 { 105,
sizeof((table).stg090), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
447 { 105,
sizeof((table).stg091), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
448 { 105,
sizeof((table).stg092), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
449 { 105,
sizeof((table).stg093), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
450 { 105,
sizeof((table).stg094), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
451 { 105,
sizeof((table).stg095), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
452 { 105,
sizeof((table).stg096), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
453 { 105,
sizeof((table).stg097), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
454 { 105,
sizeof((table).stg098), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
455 { 105,
sizeof((table).stg099), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
456 { 105,
sizeof((table).stg100), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
457 { 102,
sizeof((table).q001), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
458 { 102,
sizeof((table).q002), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
459 { 102,
sizeof((table).q003), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
460 { 102,
sizeof((table).q004), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
461 { 102,
sizeof((table).q005), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
462 { 102,
sizeof((table).q006), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
463 { 102,
sizeof((table).q007), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
464 { 102,
sizeof((table).q008), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
465 { 102,
sizeof((table).q009), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
466 { 102,
sizeof((table).q010), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
467 { 102,
sizeof((table).q011), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
468 { 102,
sizeof((table).q012), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
469 { 102,
sizeof((table).q013), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
470 { 102,
sizeof((table).q014), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
471 { 102,
sizeof((table).q015), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
472 { 102,
sizeof((table).q016), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
473 { 102,
sizeof((table).q017), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
474 { 102,
sizeof((table).q018), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
475 { 102,
sizeof((table).q019), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
476 { 102,
sizeof((table).q020), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
477 { 102,
sizeof((table).q021), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
478 { 102,
sizeof((table).q022), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
479 { 102,
sizeof((table).q023), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
480 { 102,
sizeof((table).q024), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
481 { 102,
sizeof((table).q025), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
482 { 102,
sizeof((table).q026), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
483 { 102,
sizeof((table).q027), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
484 { 102,
sizeof((table).q028), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
485 { 102,
sizeof((table).q029), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
486 { 102,
sizeof((table).q030), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
487 { 102,
sizeof((table).q031), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
488 { 102,
sizeof((table).q032), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
489 { 102,
sizeof((table).q033), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
490 { 102,
sizeof((table).q034), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
491 { 102,
sizeof((table).q035), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
492 { 102,
sizeof((table).q036), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
493 { 102,
sizeof((table).q037), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
494 { 102,
sizeof((table).q038), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
495 { 102,
sizeof((table).q039), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
496 { 102,
sizeof((table).q040), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
497 { 102,
sizeof((table).q041), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
498 { 102,
sizeof((table).q042), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
499 { 102,
sizeof((table).q043), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
500 { 102,
sizeof((table).q044), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
501 { 102,
sizeof((table).q045), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
502 { 102,
sizeof((table).q046), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
503 { 102,
sizeof((table).q047), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
504 { 102,
sizeof((table).q048), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
505 { 102,
sizeof((table).q049), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
506 { 102,
sizeof((table).q050), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
507 { 102,
sizeof((table).q051), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
508 { 102,
sizeof((table).q052), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
509 { 102,
sizeof((table).q053), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
510 { 102,
sizeof((table).q054), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
511 { 102,
sizeof((table).q055), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
512 { 102,
sizeof((table).q056), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
513 { 102,
sizeof((table).q057), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
514 { 102,
sizeof((table).q058), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
515 { 102,
sizeof((table).q059), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
516 { 102,
sizeof((table).q060), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
517 { 102,
sizeof((table).q061), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
518 { 102,
sizeof((table).q062), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
519 { 102,
sizeof((table).q063), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
520 { 102,
sizeof((table).q064), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
521 { 102,
sizeof((table).q065), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
522 { 102,
sizeof((table).q066), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
523 { 102,
sizeof((table).q067), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
524 { 102,
sizeof((table).q068), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
525 { 102,
sizeof((table).q069), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
526 { 102,
sizeof((table).q070), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
527 { 102,
sizeof((table).q071), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
528 { 102,
sizeof((table).q072), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
529 { 102,
sizeof((table).q073), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
530 { 102,
sizeof((table).q074), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
531 { 102,
sizeof((table).q075), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
532 { 102,
sizeof((table).q076), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
533 { 102,
sizeof((table).q077), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
534 { 102,
sizeof((table).q078), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
535 { 102,
sizeof((table).q079), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
536 { 102,
sizeof((table).q080), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
537 { 102,
sizeof((table).q081), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
538 { 102,
sizeof((table).q082), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
539 { 102,
sizeof((table).q083), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
540 { 102,
sizeof((table).q084), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
541 { 102,
sizeof((table).q085), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
542 { 102,
sizeof((table).q086), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
543 { 102,
sizeof((table).q087), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
544 { 102,
sizeof((table).q088), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
545 { 102,
sizeof((table).q089), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
546 { 102,
sizeof((table).q090), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
547 { 102,
sizeof((table).q091), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
548 { 102,
sizeof((table).q092), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
549 { 102,
sizeof((table).q093), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
550 { 102,
sizeof((table).q094), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
551 { 102,
sizeof((table).q095), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
552 { 102,
sizeof((table).q096), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
553 { 102,
sizeof((table).q097), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
554 { 102,
sizeof((table).q098), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
555 { 102,
sizeof((table).q099), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
556 { 102,
sizeof((table).q100), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
559 static ifx_sqlda_t _SD0 = { 218, _sqobind, {0}, 218, 0 };
560 static _FetchSpec _FS1 = { 0, 1, 0 };
562 _sqobind[0].sqldata = (table).
id;
564 _sqobind[1].sqldata = (table).pe1;
566 _sqobind[2].sqldata = (table).pe2;
568 _sqobind[3].sqldata = (
char *) &(table).tbl;
570 _sqobind[4].sqldata = (
char *) &(table).valid_date;
572 _sqobind[5].sqldata = (
char *) &(table).gs;
574 _sqobind[6].sqldata = (
char *) &(table).src;
576 _sqobind[7].sqldata = (
char *) &(table).fix;
578 _sqobind[8].sqldata = (
char *) &(table).datacol;
580 _sqobind[9].sqldata = (
char *) &(table).ver5;
582 _sqobind[10].sqldata = (
char *) &(table).fld;
584 _sqobind[11].sqldata = (
char *) &(table).wrn;
586 _sqobind[12].sqldata = (
char *) &(table).hist_stg;
588 _sqobind[13].sqldata = (
char *) &(table).hist_q;
590 _sqobind[14].sqldata = (
char *) &(table).hist_date;
592 _sqobind[15].sqldata = (
char *) &(table).spil;
594 _sqobind[16].sqldata = (
char *) &(table).ded;
596 _sqobind[17].sqldata = (
char *) &(table).cap;
598 _sqobind[18].sqldata = (
char *) &(table).stg001;
600 _sqobind[19].sqldata = (
char *) &(table).stg002;
602 _sqobind[20].sqldata = (
char *) &(table).stg003;
604 _sqobind[21].sqldata = (
char *) &(table).stg004;
606 _sqobind[22].sqldata = (
char *) &(table).stg005;
608 _sqobind[23].sqldata = (
char *) &(table).stg006;
610 _sqobind[24].sqldata = (
char *) &(table).stg007;
612 _sqobind[25].sqldata = (
char *) &(table).stg008;
614 _sqobind[26].sqldata = (
char *) &(table).stg009;
616 _sqobind[27].sqldata = (
char *) &(table).stg010;
618 _sqobind[28].sqldata = (
char *) &(table).stg011;
620 _sqobind[29].sqldata = (
char *) &(table).stg012;
622 _sqobind[30].sqldata = (
char *) &(table).stg013;
624 _sqobind[31].sqldata = (
char *) &(table).stg014;
626 _sqobind[32].sqldata = (
char *) &(table).stg015;
628 _sqobind[33].sqldata = (
char *) &(table).stg016;
630 _sqobind[34].sqldata = (
char *) &(table).stg017;
632 _sqobind[35].sqldata = (
char *) &(table).stg018;
634 _sqobind[36].sqldata = (
char *) &(table).stg019;
636 _sqobind[37].sqldata = (
char *) &(table).stg020;
638 _sqobind[38].sqldata = (
char *) &(table).stg021;
640 _sqobind[39].sqldata = (
char *) &(table).stg022;
642 _sqobind[40].sqldata = (
char *) &(table).stg023;
644 _sqobind[41].sqldata = (
char *) &(table).stg024;
646 _sqobind[42].sqldata = (
char *) &(table).stg025;
648 _sqobind[43].sqldata = (
char *) &(table).stg026;
650 _sqobind[44].sqldata = (
char *) &(table).stg027;
652 _sqobind[45].sqldata = (
char *) &(table).stg028;
654 _sqobind[46].sqldata = (
char *) &(table).stg029;
656 _sqobind[47].sqldata = (
char *) &(table).stg030;
658 _sqobind[48].sqldata = (
char *) &(table).stg031;
660 _sqobind[49].sqldata = (
char *) &(table).stg032;
662 _sqobind[50].sqldata = (
char *) &(table).stg033;
664 _sqobind[51].sqldata = (
char *) &(table).stg034;
666 _sqobind[52].sqldata = (
char *) &(table).stg035;
668 _sqobind[53].sqldata = (
char *) &(table).stg036;
670 _sqobind[54].sqldata = (
char *) &(table).stg037;
672 _sqobind[55].sqldata = (
char *) &(table).stg038;
674 _sqobind[56].sqldata = (
char *) &(table).stg039;
676 _sqobind[57].sqldata = (
char *) &(table).stg040;
678 _sqobind[58].sqldata = (
char *) &(table).stg041;
680 _sqobind[59].sqldata = (
char *) &(table).stg042;
682 _sqobind[60].sqldata = (
char *) &(table).stg043;
684 _sqobind[61].sqldata = (
char *) &(table).stg044;
686 _sqobind[62].sqldata = (
char *) &(table).stg045;
688 _sqobind[63].sqldata = (
char *) &(table).stg046;
690 _sqobind[64].sqldata = (
char *) &(table).stg047;
692 _sqobind[65].sqldata = (
char *) &(table).stg048;
694 _sqobind[66].sqldata = (
char *) &(table).stg049;
696 _sqobind[67].sqldata = (
char *) &(table).stg050;
698 _sqobind[68].sqldata = (
char *) &(table).stg051;
700 _sqobind[69].sqldata = (
char *) &(table).stg052;
702 _sqobind[70].sqldata = (
char *) &(table).stg053;
704 _sqobind[71].sqldata = (
char *) &(table).stg054;
706 _sqobind[72].sqldata = (
char *) &(table).stg055;
708 _sqobind[73].sqldata = (
char *) &(table).stg056;
710 _sqobind[74].sqldata = (
char *) &(table).stg057;
712 _sqobind[75].sqldata = (
char *) &(table).stg058;
714 _sqobind[76].sqldata = (
char *) &(table).stg059;
716 _sqobind[77].sqldata = (
char *) &(table).stg060;
718 _sqobind[78].sqldata = (
char *) &(table).stg061;
720 _sqobind[79].sqldata = (
char *) &(table).stg062;
722 _sqobind[80].sqldata = (
char *) &(table).stg063;
724 _sqobind[81].sqldata = (
char *) &(table).stg064;
726 _sqobind[82].sqldata = (
char *) &(table).stg065;
728 _sqobind[83].sqldata = (
char *) &(table).stg066;
730 _sqobind[84].sqldata = (
char *) &(table).stg067;
732 _sqobind[85].sqldata = (
char *) &(table).stg068;
734 _sqobind[86].sqldata = (
char *) &(table).stg069;
736 _sqobind[87].sqldata = (
char *) &(table).stg070;
738 _sqobind[88].sqldata = (
char *) &(table).stg071;
740 _sqobind[89].sqldata = (
char *) &(table).stg072;
742 _sqobind[90].sqldata = (
char *) &(table).stg073;
744 _sqobind[91].sqldata = (
char *) &(table).stg074;
746 _sqobind[92].sqldata = (
char *) &(table).stg075;
748 _sqobind[93].sqldata = (
char *) &(table).stg076;
750 _sqobind[94].sqldata = (
char *) &(table).stg077;
752 _sqobind[95].sqldata = (
char *) &(table).stg078;
754 _sqobind[96].sqldata = (
char *) &(table).stg079;
756 _sqobind[97].sqldata = (
char *) &(table).stg080;
758 _sqobind[98].sqldata = (
char *) &(table).stg081;
760 _sqobind[99].sqldata = (
char *) &(table).stg082;
762 _sqobind[100].sqldata = (
char *) &(table).stg083;
764 _sqobind[101].sqldata = (
char *) &(table).stg084;
766 _sqobind[102].sqldata = (
char *) &(table).stg085;
768 _sqobind[103].sqldata = (
char *) &(table).stg086;
770 _sqobind[104].sqldata = (
char *) &(table).stg087;
772 _sqobind[105].sqldata = (
char *) &(table).stg088;
774 _sqobind[106].sqldata = (
char *) &(table).stg089;
776 _sqobind[107].sqldata = (
char *) &(table).stg090;
778 _sqobind[108].sqldata = (
char *) &(table).stg091;
780 _sqobind[109].sqldata = (
char *) &(table).stg092;
782 _sqobind[110].sqldata = (
char *) &(table).stg093;
784 _sqobind[111].sqldata = (
char *) &(table).stg094;
786 _sqobind[112].sqldata = (
char *) &(table).stg095;
788 _sqobind[113].sqldata = (
char *) &(table).stg096;
790 _sqobind[114].sqldata = (
char *) &(table).stg097;
792 _sqobind[115].sqldata = (
char *) &(table).stg098;
794 _sqobind[116].sqldata = (
char *) &(table).stg099;
796 _sqobind[117].sqldata = (
char *) &(table).stg100;
798 _sqobind[118].sqldata = (
char *) &(table).q001;
800 _sqobind[119].sqldata = (
char *) &(table).q002;
802 _sqobind[120].sqldata = (
char *) &(table).q003;
804 _sqobind[121].sqldata = (
char *) &(table).q004;
806 _sqobind[122].sqldata = (
char *) &(table).q005;
808 _sqobind[123].sqldata = (
char *) &(table).q006;
810 _sqobind[124].sqldata = (
char *) &(table).q007;
812 _sqobind[125].sqldata = (
char *) &(table).q008;
814 _sqobind[126].sqldata = (
char *) &(table).q009;
816 _sqobind[127].sqldata = (
char *) &(table).q010;
818 _sqobind[128].sqldata = (
char *) &(table).q011;
820 _sqobind[129].sqldata = (
char *) &(table).q012;
822 _sqobind[130].sqldata = (
char *) &(table).q013;
824 _sqobind[131].sqldata = (
char *) &(table).q014;
826 _sqobind[132].sqldata = (
char *) &(table).q015;
828 _sqobind[133].sqldata = (
char *) &(table).q016;
830 _sqobind[134].sqldata = (
char *) &(table).q017;
832 _sqobind[135].sqldata = (
char *) &(table).q018;
834 _sqobind[136].sqldata = (
char *) &(table).q019;
836 _sqobind[137].sqldata = (
char *) &(table).q020;
838 _sqobind[138].sqldata = (
char *) &(table).q021;
840 _sqobind[139].sqldata = (
char *) &(table).q022;
842 _sqobind[140].sqldata = (
char *) &(table).q023;
844 _sqobind[141].sqldata = (
char *) &(table).q024;
846 _sqobind[142].sqldata = (
char *) &(table).q025;
848 _sqobind[143].sqldata = (
char *) &(table).q026;
850 _sqobind[144].sqldata = (
char *) &(table).q027;
852 _sqobind[145].sqldata = (
char *) &(table).q028;
854 _sqobind[146].sqldata = (
char *) &(table).q029;
856 _sqobind[147].sqldata = (
char *) &(table).q030;
858 _sqobind[148].sqldata = (
char *) &(table).q031;
860 _sqobind[149].sqldata = (
char *) &(table).q032;
862 _sqobind[150].sqldata = (
char *) &(table).q033;
864 _sqobind[151].sqldata = (
char *) &(table).q034;
866 _sqobind[152].sqldata = (
char *) &(table).q035;
868 _sqobind[153].sqldata = (
char *) &(table).q036;
870 _sqobind[154].sqldata = (
char *) &(table).q037;
872 _sqobind[155].sqldata = (
char *) &(table).q038;
874 _sqobind[156].sqldata = (
char *) &(table).q039;
876 _sqobind[157].sqldata = (
char *) &(table).q040;
878 _sqobind[158].sqldata = (
char *) &(table).q041;
880 _sqobind[159].sqldata = (
char *) &(table).q042;
882 _sqobind[160].sqldata = (
char *) &(table).q043;
884 _sqobind[161].sqldata = (
char *) &(table).q044;
886 _sqobind[162].sqldata = (
char *) &(table).q045;
888 _sqobind[163].sqldata = (
char *) &(table).q046;
890 _sqobind[164].sqldata = (
char *) &(table).q047;
892 _sqobind[165].sqldata = (
char *) &(table).q048;
894 _sqobind[166].sqldata = (
char *) &(table).q049;
896 _sqobind[167].sqldata = (
char *) &(table).q050;
898 _sqobind[168].sqldata = (
char *) &(table).q051;
900 _sqobind[169].sqldata = (
char *) &(table).q052;
902 _sqobind[170].sqldata = (
char *) &(table).q053;
904 _sqobind[171].sqldata = (
char *) &(table).q054;
906 _sqobind[172].sqldata = (
char *) &(table).q055;
908 _sqobind[173].sqldata = (
char *) &(table).q056;
910 _sqobind[174].sqldata = (
char *) &(table).q057;
912 _sqobind[175].sqldata = (
char *) &(table).q058;
914 _sqobind[176].sqldata = (
char *) &(table).q059;
916 _sqobind[177].sqldata = (
char *) &(table).q060;
918 _sqobind[178].sqldata = (
char *) &(table).q061;
920 _sqobind[179].sqldata = (
char *) &(table).q062;
922 _sqobind[180].sqldata = (
char *) &(table).q063;
924 _sqobind[181].sqldata = (
char *) &(table).q064;
926 _sqobind[182].sqldata = (
char *) &(table).q065;
928 _sqobind[183].sqldata = (
char *) &(table).q066;
930 _sqobind[184].sqldata = (
char *) &(table).q067;
932 _sqobind[185].sqldata = (
char *) &(table).q068;
934 _sqobind[186].sqldata = (
char *) &(table).q069;
936 _sqobind[187].sqldata = (
char *) &(table).q070;
938 _sqobind[188].sqldata = (
char *) &(table).q071;
940 _sqobind[189].sqldata = (
char *) &(table).q072;
942 _sqobind[190].sqldata = (
char *) &(table).q073;
944 _sqobind[191].sqldata = (
char *) &(table).q074;
946 _sqobind[192].sqldata = (
char *) &(table).q075;
948 _sqobind[193].sqldata = (
char *) &(table).q076;
950 _sqobind[194].sqldata = (
char *) &(table).q077;
952 _sqobind[195].sqldata = (
char *) &(table).q078;
954 _sqobind[196].sqldata = (
char *) &(table).q079;
956 _sqobind[197].sqldata = (
char *) &(table).q080;
958 _sqobind[198].sqldata = (
char *) &(table).q081;
960 _sqobind[199].sqldata = (
char *) &(table).q082;
962 _sqobind[200].sqldata = (
char *) &(table).q083;
964 _sqobind[201].sqldata = (
char *) &(table).q084;
966 _sqobind[202].sqldata = (
char *) &(table).q085;
968 _sqobind[203].sqldata = (
char *) &(table).q086;
970 _sqobind[204].sqldata = (
char *) &(table).q087;
972 _sqobind[205].sqldata = (
char *) &(table).q088;
974 _sqobind[206].sqldata = (
char *) &(table).q089;
976 _sqobind[207].sqldata = (
char *) &(table).q090;
978 _sqobind[208].sqldata = (
char *) &(table).q091;
980 _sqobind[209].sqldata = (
char *) &(table).q092;
982 _sqobind[210].sqldata = (
char *) &(table).q093;
984 _sqobind[211].sqldata = (
char *) &(table).q094;
986 _sqobind[212].sqldata = (
char *) &(table).q095;
988 _sqobind[213].sqldata = (
char *) &(table).q096;
990 _sqobind[214].sqldata = (
char *) &(table).q097;
992 _sqobind[215].sqldata = (
char *) &(table).q098;
994 _sqobind[216].sqldata = (
char *) &(table).q099;
996 _sqobind[217].sqldata = (
char *) &(table).q100;
997 sqli_curs_fetch(ESQLINTVERSION, sqli_curs_locate(ESQLINTVERSION,
_Cn1, 768), (ifx_sqlda_t *)0, &_SD0, (
char *)0, &_FS1);
1003 Stg[0] = table.stg001;
1004 Stg[1] = table.stg002;
1005 Stg[2] = table.stg003;
1006 Stg[3] = table.stg004;
1007 Stg[4] = table.stg005;
1008 Stg[5] = table.stg006;
1009 Stg[6] = table.stg007;
1010 Stg[7] = table.stg008;
1011 Stg[8] = table.stg009;
1012 Stg[9] = table.stg010;
1013 Stg[10] = table.stg011;
1014 Stg[11] = table.stg012;
1015 Stg[12] = table.stg013;
1016 Stg[13] = table.stg014;
1017 Stg[14] = table.stg015;
1018 Stg[15] = table.stg016;
1019 Stg[16] = table.stg017;
1020 Stg[17] = table.stg018;
1021 Stg[18] = table.stg019;
1022 Stg[19] = table.stg020;
1023 Stg[20] = table.stg021;
1024 Stg[21] = table.stg022;
1025 Stg[22] = table.stg023;
1026 Stg[23] = table.stg024;
1027 Stg[24] = table.stg025;
1028 Stg[25] = table.stg026;
1029 Stg[26] = table.stg027;
1030 Stg[27] = table.stg028;
1031 Stg[28] = table.stg029;
1032 Stg[29] = table.stg030;
1033 Stg[30] = table.stg031;
1034 Stg[31] = table.stg032;
1035 Stg[32] = table.stg033;
1036 Stg[33] = table.stg034;
1037 Stg[34] = table.stg035;
1038 Stg[35] = table.stg036;
1039 Stg[36] = table.stg037;
1040 Stg[37] = table.stg038;
1041 Stg[38] = table.stg039;
1042 Stg[39] = table.stg040;
1043 Stg[40] = table.stg041;
1044 Stg[41] = table.stg042;
1045 Stg[42] = table.stg043;
1046 Stg[43] = table.stg044;
1047 Stg[44] = table.stg045;
1048 Stg[45] = table.stg046;
1049 Stg[46] = table.stg047;
1050 Stg[47] = table.stg048;
1051 Stg[48] = table.stg049;
1052 Stg[49] = table.stg050;
1053 Stg[50] = table.stg051;
1054 Stg[51] = table.stg052;
1055 Stg[52] = table.stg053;
1056 Stg[53] = table.stg054;
1057 Stg[54] = table.stg055;
1058 Stg[55] = table.stg056;
1059 Stg[56] = table.stg057;
1060 Stg[57] = table.stg058;
1061 Stg[58] = table.stg059;
1062 Stg[59] = table.stg060;
1063 Stg[60] = table.stg061;
1064 Stg[61] = table.stg062;
1065 Stg[62] = table.stg063;
1066 Stg[63] = table.stg064;
1067 Stg[64] = table.stg065;
1068 Stg[65] = table.stg066;
1069 Stg[66] = table.stg067;
1070 Stg[67] = table.stg068;
1071 Stg[68] = table.stg069;
1072 Stg[69] = table.stg070;
1073 Stg[70] = table.stg071;
1074 Stg[71] = table.stg072;
1075 Stg[72] = table.stg073;
1076 Stg[73] = table.stg074;
1077 Stg[74] = table.stg075;
1078 Stg[75] = table.stg076;
1079 Stg[76] = table.stg077;
1080 Stg[77] = table.stg078;
1081 Stg[78] = table.stg079;
1082 Stg[79] = table.stg080;
1083 Stg[80] = table.stg081;
1084 Stg[81] = table.stg082;
1085 Stg[82] = table.stg083;
1086 Stg[83] = table.stg084;
1087 Stg[84] = table.stg085;
1088 Stg[85] = table.stg086;
1089 Stg[86] = table.stg087;
1090 Stg[87] = table.stg088;
1091 Stg[88] = table.stg089;
1092 Stg[89] = table.stg090;
1093 Stg[90] = table.stg091;
1094 Stg[91] = table.stg092;
1095 Stg[92] = table.stg093;
1096 Stg[93] = table.stg094;
1097 Stg[94] = table.stg095;
1098 Stg[95] = table.stg096;
1099 Stg[96] = table.stg097;
1100 Stg[97] = table.stg098;
1101 Stg[98] = table.stg099;
1102 Stg[99] = table.stg100;
1208 for(
i = 0;
i <100;
i++)
1214 if(zero_flow == 100)
1236 if((Stg[
i] == 0.00) &&
i)
1245 if(Stg[
i]==Stg[
j-1] || Q[
i]==Q[
j-1])
1296 int getflow(
char *hb5,
char *shef,
double Stage,
int *Warning)
1298 int Flow,
temp, err,
i;
1299 double ShiftStage,Level;
1363 flow =
Slope*ShiftStage +
b;
1374 double flow,Del,
Slope,Var1;
1384 flow = Var1 + (
Slope * (log10(ShiftStage) -
1391 flow = pow(10.0,flow);
1406 double flow,Del,
Slope,Var2;
1407 int Flow,High=
i,Low=
i-1;
1427 flow = Var2 + (
Slope * (log10(ShiftStage) -
1432 flow = pow(10.0,flow);
1439 double getstage(
char *hb5,
char *shef,
int Flow,
int *Warning)
1493 double flow = (double)Flow;
1495 double Stage = flow *
Slope;
1496 double ShiftStage = Stage;
1502 double flow,Del,
Slope,Var1,Stage,ShiftStage;
1511 ShiftStage = pow(10.0,Stage);
1518 double ShiftStage = Stage;
1524 double flow,Del,
Slope,Var2,Stage;
1543 Stage = Var2 + (
Slope * (log10(flow) -
1545 Stage = pow(10.0,Stage);
RatingTable getrc(char *ihb5, char pe1, char pe2, int zdate, int *Warning)
int get_rate(char *hb5in, char pe1, char pe2, int zdate)
int aboves2f(double ShiftStage)
double getstage(char *hb5, char *shef, int Flow, int *Warning)
int interps2f(double ShiftStage, int i)
static RatingTable rate_table
int belows2f(double ShiftStage)
double interpf2s(int Flow, int i)
double belowf2s(int Flow)
int getflow(char *hb5, char *shef, double Stage, int *Warning)
double abovef2s(int Flow)