3 static const char *
_Cn1 =
"stncursor";
4 #line 1 "tcandidate.ec"
9 #line 2 "tcandidate.ec"
11 #line 2 "tcandidate.ec"
12 #line 1 "/opt/informix_cli/incl/esql/sqlca.h"
94 #define SQLNOTFOUND 100
103 extern int4 * ifx_sqlcode();
104 extern struct sqlca_s * ifx_sqlca();
105 #define SQLCODE (*(ifx_sqlcode()))
106 #define SQLSTATE ((char *)(ifx_sqlstate()))
107 #define sqlca (*(ifx_sqlca()))
116 #line 103 "/opt/informix_cli/incl/esql/sqlca.h"
117 #line 3 "tcandidate.ec"
122 #line 4 "tcandidate.ec"
123 #line 5 "tcandidate.ec"
124 #line 6 "tcandidate.ec"
126 #line 7 "tcandidate.ec"
146 #line 28 "tcandidate.ec"
159 #line 42 "tcandidate.ec"
222 #line 106 "tcandidate.ec"
298 #line 182 "tcandidate.ec"
333 #line 216 "tcandidate.ec"
360 int mday[]={31,28,31,30,31,30,31,31,30,31,30,31} ;
361 void main(
int argc,
char **argv)
382 char dbuf[80],ts1[80];
384 char zbuf[1000],abuf[100];
386 int zdate[10],ztime[10];
388 char *add,file[50],*key;
392 extern int optind,opterr,optopt;
397 char *directory,fname[50];
403 int itemp,itemp1,itemp2,ival,len;
408 fp=fopen(
"junkfile",
"w");
412 strcpy(
qual,
"SAVFZ");
416 while((c=getopt(argc,argv,
"d:h:n:f:q:v"))!=-1){
422 strcpy(fname,optarg);
437 dtn_values=calloc(1000,
sizeof(
struct stn_values));
438 qtn_values=calloc(1000,
sizeof(
struct stn_values));
443 btim.year=gmtim->tm_year+1900;
444 btim.month=gmtim->tm_mon+1;
445 btim.day=gmtim->tm_mday;
446 btim.hour=gmtim->tm_hour;
461 etim2.
year=gmtim->tm_year+1900;
462 etim2.
month=gmtim->tm_mon+1;
463 etim2.
day=gmtim->tm_mday;
470 #line 349 "tcandidate.ec"
472 #line 349 "tcandidate.ec"
473 #line 349 "tcandidate.ec"
474 sqli_curs_open(ESQLINTVERSION, sqli_curs_locate(ESQLINTVERSION, (
char *)
_Cn1, 768), (ifx_sqlda_t *) 0, (
char *) 0, (
struct value *) 0, 0, 0);
475 #line 349 "tcandidate.ec"
485 for(i=0;i<5000;i++) {
494 #line 364 "tcandidate.ec"
496 #line 364 "tcandidate.ec"
497 static ifx_sqlvar_t _sqobind[] =
499 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
500 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
501 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
502 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
503 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
504 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
505 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
506 { 102,
sizeof((
btn_rec).elev), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
507 { 100, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
508 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
509 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
510 { 100, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
511 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
512 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
513 { 102,
sizeof((
btn_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
514 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
515 #line 364 "tcandidate.ec"
517 static ifx_sqlda_t _SD0 = { 16, _sqobind, {0}, 16, 0 };
518 static _FetchSpec _FS1 = { 0, 1, 0 };
519 #line 364 "tcandidate.ec"
520 _sqobind[0].sqldata = (
btn_rec).
id;
521 #line 364 "tcandidate.ec"
522 _sqobind[1].sqldata = (
btn_rec).plat;
523 #line 364 "tcandidate.ec"
524 _sqobind[2].sqldata = (
btn_rec).des;
525 #line 364 "tcandidate.ec"
526 _sqobind[3].sqldata = (
btn_rec).det;
527 #line 364 "tcandidate.ec"
528 _sqobind[4].sqldata = (
btn_rec).init;
529 #line 364 "tcandidate.ec"
530 _sqobind[5].sqldata = (
btn_rec).lat;
531 #line 364 "tcandidate.ec"
532 _sqobind[6].sqldata = (
btn_rec).lng;
533 #line 364 "tcandidate.ec"
534 _sqobind[7].sqldata = (
char *) &(
btn_rec).elev;
535 #line 364 "tcandidate.ec"
536 _sqobind[8].sqldata = (
btn_rec).stat;
537 #line 364 "tcandidate.ec"
538 _sqobind[9].sqldata = (
btn_rec).huc;
539 #line 364 "tcandidate.ec"
540 _sqobind[10].sqldata = (
btn_rec).cou;
541 #line 364 "tcandidate.ec"
542 _sqobind[11].sqldata = (
btn_rec).zon;
543 #line 364 "tcandidate.ec"
544 _sqobind[12].sqldata = (
btn_rec).hsa;
545 #line 364 "tcandidate.ec"
546 _sqobind[13].sqldata = (
btn_rec).cwa;
547 #line 364 "tcandidate.ec"
548 _sqobind[14].sqldata = (
char *) &(
btn_rec).post;
549 #line 364 "tcandidate.ec"
550 _sqobind[15].sqldata = (
btn_rec).dbsource;
551 #line 364 "tcandidate.ec"
552 sqli_curs_fetch(ESQLINTVERSION, sqli_curs_locate(ESQLINTVERSION, (
char *)
_Cn1, 768), (ifx_sqlda_t *) 0, &_SD0, (
char *) 0, &_FS1);
553 #line 364 "tcandidate.ec"
583 #line 380 "tcandidate.ec"
585 #line 390 "tcandidate.ec"
586 static const char *sqlcmdtxt[] =
587 #line 390 "tcandidate.ec"
589 #line 390 "tcandidate.ec"
590 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'D' and t = ? and s = 'P' and e = 'X' and p = 'Z'",
593 #line 390 "tcandidate.ec"
594 static ifx_cursor_t _SQ0 = {0};
595 static ifx_sqlvar_t _sqibind[] =
597 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
598 { 108, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
599 #line 390 "tcandidate.ec"
601 static ifx_sqlvar_t _sqobind[] =
603 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
604 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
605 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
606 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
607 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
608 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
609 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
610 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
611 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
612 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
613 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
614 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
615 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
616 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
617 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
618 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
619 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
620 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
621 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
622 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
623 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
624 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
625 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
626 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
627 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
628 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
629 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
630 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
631 #line 390 "tcandidate.ec"
633 #line 390 "tcandidate.ec"
635 #line 390 "tcandidate.ec"
636 _sqibind[1].sqldata = &
t;
637 #line 390 "tcandidate.ec"
638 _sqobind[0].sqldata = (
bens_rec).
id;
639 #line 390 "tcandidate.ec"
641 #line 390 "tcandidate.ec"
643 #line 390 "tcandidate.ec"
645 #line 390 "tcandidate.ec"
647 #line 390 "tcandidate.ec"
649 #line 390 "tcandidate.ec"
651 #line 390 "tcandidate.ec"
653 #line 390 "tcandidate.ec"
655 #line 390 "tcandidate.ec"
656 _sqobind[9].sqldata = (
bens_rec).des;
657 #line 390 "tcandidate.ec"
658 _sqobind[10].sqldata = (
bens_rec).det;
659 #line 390 "tcandidate.ec"
660 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
661 #line 390 "tcandidate.ec"
662 _sqobind[12].sqldata = (
bens_rec).new_report;
663 #line 390 "tcandidate.ec"
664 _sqobind[13].sqldata = (
bens_rec).active;
665 #line 390 "tcandidate.ec"
667 #line 390 "tcandidate.ec"
668 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
669 #line 390 "tcandidate.ec"
670 _sqobind[16].sqldata = (
bens_rec).prod;
671 #line 390 "tcandidate.ec"
672 _sqobind[17].sqldata = (
bens_rec).prod2ary;
673 #line 390 "tcandidate.ec"
674 _sqobind[18].sqldata = (
bens_rec).obsag;
675 #line 390 "tcandidate.ec"
676 _sqobind[19].sqldata = (
bens_rec).obsloc;
677 #line 390 "tcandidate.ec"
678 _sqobind[20].sqldata = (
bens_rec).prov_avail;
679 #line 390 "tcandidate.ec"
680 _sqobind[21].sqldata = (
bens_rec).final_avail;
681 #line 390 "tcandidate.ec"
682 _sqobind[22].sqldata = (
bens_rec).ownag;
683 #line 390 "tcandidate.ec"
684 _sqobind[23].sqldata = (
bens_rec).ownloc;
685 #line 390 "tcandidate.ec"
686 _sqobind[24].sqldata = (
bens_rec).maintag;
687 #line 390 "tcandidate.ec"
688 _sqobind[25].sqldata = (
bens_rec).maintloc;
689 #line 390 "tcandidate.ec"
690 _sqobind[26].sqldata = (
bens_rec).init;
691 #line 390 "tcandidate.ec"
692 _sqobind[27].sqldata = (
bens_rec).dbsource;
693 #line 390 "tcandidate.ec"
694 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,2,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
695 #line 390 "tcandidate.ec"
716 #line 397 "tcandidate.ec"
718 #line 407 "tcandidate.ec"
719 static const char *sqlcmdtxt[] =
720 #line 407 "tcandidate.ec"
722 #line 407 "tcandidate.ec"
723 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'D' and t = ? and s = 'G' and e = 'X' and p = 'Z'",
726 #line 407 "tcandidate.ec"
727 static ifx_cursor_t _SQ0 = {0};
728 static ifx_sqlvar_t _sqibind[] =
730 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
731 { 108, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
732 #line 407 "tcandidate.ec"
734 static ifx_sqlvar_t _sqobind[] =
736 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
737 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
738 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
739 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
740 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
741 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
742 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
743 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
744 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
745 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
746 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
747 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
748 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
749 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
750 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
751 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
752 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
753 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
754 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
755 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
756 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
757 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
758 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
759 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
760 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
761 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
762 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
763 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
764 #line 407 "tcandidate.ec"
766 #line 407 "tcandidate.ec"
768 #line 407 "tcandidate.ec"
769 _sqibind[1].sqldata = &
t;
770 #line 407 "tcandidate.ec"
771 _sqobind[0].sqldata = (
bens_rec).
id;
772 #line 407 "tcandidate.ec"
774 #line 407 "tcandidate.ec"
776 #line 407 "tcandidate.ec"
778 #line 407 "tcandidate.ec"
780 #line 407 "tcandidate.ec"
782 #line 407 "tcandidate.ec"
784 #line 407 "tcandidate.ec"
786 #line 407 "tcandidate.ec"
788 #line 407 "tcandidate.ec"
789 _sqobind[9].sqldata = (
bens_rec).des;
790 #line 407 "tcandidate.ec"
791 _sqobind[10].sqldata = (
bens_rec).det;
792 #line 407 "tcandidate.ec"
793 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
794 #line 407 "tcandidate.ec"
795 _sqobind[12].sqldata = (
bens_rec).new_report;
796 #line 407 "tcandidate.ec"
797 _sqobind[13].sqldata = (
bens_rec).active;
798 #line 407 "tcandidate.ec"
800 #line 407 "tcandidate.ec"
801 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
802 #line 407 "tcandidate.ec"
803 _sqobind[16].sqldata = (
bens_rec).prod;
804 #line 407 "tcandidate.ec"
805 _sqobind[17].sqldata = (
bens_rec).prod2ary;
806 #line 407 "tcandidate.ec"
807 _sqobind[18].sqldata = (
bens_rec).obsag;
808 #line 407 "tcandidate.ec"
809 _sqobind[19].sqldata = (
bens_rec).obsloc;
810 #line 407 "tcandidate.ec"
811 _sqobind[20].sqldata = (
bens_rec).prov_avail;
812 #line 407 "tcandidate.ec"
813 _sqobind[21].sqldata = (
bens_rec).final_avail;
814 #line 407 "tcandidate.ec"
815 _sqobind[22].sqldata = (
bens_rec).ownag;
816 #line 407 "tcandidate.ec"
817 _sqobind[23].sqldata = (
bens_rec).ownloc;
818 #line 407 "tcandidate.ec"
819 _sqobind[24].sqldata = (
bens_rec).maintag;
820 #line 407 "tcandidate.ec"
821 _sqobind[25].sqldata = (
bens_rec).maintloc;
822 #line 407 "tcandidate.ec"
823 _sqobind[26].sqldata = (
bens_rec).init;
824 #line 407 "tcandidate.ec"
825 _sqobind[27].sqldata = (
bens_rec).dbsource;
826 #line 407 "tcandidate.ec"
827 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,2,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
828 #line 407 "tcandidate.ec"
849 #line 414 "tcandidate.ec"
851 #line 424 "tcandidate.ec"
852 static const char *sqlcmdtxt[] =
853 #line 424 "tcandidate.ec"
855 #line 424 "tcandidate.ec"
856 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'D' and t = ? and s = 'M' and e = 'X' and p = 'Z'",
859 #line 424 "tcandidate.ec"
860 static ifx_cursor_t _SQ0 = {0};
861 static ifx_sqlvar_t _sqibind[] =
863 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
864 { 108, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
865 #line 424 "tcandidate.ec"
867 static ifx_sqlvar_t _sqobind[] =
869 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
870 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
871 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
872 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
873 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
874 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
875 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
876 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
877 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
878 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
879 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
880 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
881 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
882 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
883 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
884 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
885 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
886 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
887 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
888 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
889 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
890 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
891 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
892 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
893 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
894 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
895 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
896 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
897 #line 424 "tcandidate.ec"
899 #line 424 "tcandidate.ec"
901 #line 424 "tcandidate.ec"
902 _sqibind[1].sqldata = &
t;
903 #line 424 "tcandidate.ec"
904 _sqobind[0].sqldata = (
bens_rec).
id;
905 #line 424 "tcandidate.ec"
907 #line 424 "tcandidate.ec"
909 #line 424 "tcandidate.ec"
911 #line 424 "tcandidate.ec"
913 #line 424 "tcandidate.ec"
915 #line 424 "tcandidate.ec"
917 #line 424 "tcandidate.ec"
919 #line 424 "tcandidate.ec"
921 #line 424 "tcandidate.ec"
922 _sqobind[9].sqldata = (
bens_rec).des;
923 #line 424 "tcandidate.ec"
924 _sqobind[10].sqldata = (
bens_rec).det;
925 #line 424 "tcandidate.ec"
926 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
927 #line 424 "tcandidate.ec"
928 _sqobind[12].sqldata = (
bens_rec).new_report;
929 #line 424 "tcandidate.ec"
930 _sqobind[13].sqldata = (
bens_rec).active;
931 #line 424 "tcandidate.ec"
933 #line 424 "tcandidate.ec"
934 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
935 #line 424 "tcandidate.ec"
936 _sqobind[16].sqldata = (
bens_rec).prod;
937 #line 424 "tcandidate.ec"
938 _sqobind[17].sqldata = (
bens_rec).prod2ary;
939 #line 424 "tcandidate.ec"
940 _sqobind[18].sqldata = (
bens_rec).obsag;
941 #line 424 "tcandidate.ec"
942 _sqobind[19].sqldata = (
bens_rec).obsloc;
943 #line 424 "tcandidate.ec"
944 _sqobind[20].sqldata = (
bens_rec).prov_avail;
945 #line 424 "tcandidate.ec"
946 _sqobind[21].sqldata = (
bens_rec).final_avail;
947 #line 424 "tcandidate.ec"
948 _sqobind[22].sqldata = (
bens_rec).ownag;
949 #line 424 "tcandidate.ec"
950 _sqobind[23].sqldata = (
bens_rec).ownloc;
951 #line 424 "tcandidate.ec"
952 _sqobind[24].sqldata = (
bens_rec).maintag;
953 #line 424 "tcandidate.ec"
954 _sqobind[25].sqldata = (
bens_rec).maintloc;
955 #line 424 "tcandidate.ec"
956 _sqobind[26].sqldata = (
bens_rec).init;
957 #line 424 "tcandidate.ec"
958 _sqobind[27].sqldata = (
bens_rec).dbsource;
959 #line 424 "tcandidate.ec"
960 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,2,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
961 #line 424 "tcandidate.ec"
981 #line 430 "tcandidate.ec"
983 #line 440 "tcandidate.ec"
984 static const char *sqlcmdtxt[] =
985 #line 440 "tcandidate.ec"
987 #line 440 "tcandidate.ec"
988 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'D' and t = ? and s = 'Z' and e = 'X' and p = 'Z'",
991 #line 440 "tcandidate.ec"
992 static ifx_cursor_t _SQ0 = {0};
993 static ifx_sqlvar_t _sqibind[] =
995 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
996 { 108, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
997 #line 440 "tcandidate.ec"
999 static ifx_sqlvar_t _sqobind[] =
1001 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1002 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1003 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1004 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1005 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1006 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1007 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1008 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1009 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1010 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1011 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1012 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1013 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1014 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1015 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1016 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1017 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1018 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1019 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1020 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1021 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1022 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1023 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1024 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1025 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1026 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1027 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1028 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1029 #line 440 "tcandidate.ec"
1031 #line 440 "tcandidate.ec"
1033 #line 440 "tcandidate.ec"
1034 _sqibind[1].sqldata = &
t;
1035 #line 440 "tcandidate.ec"
1036 _sqobind[0].sqldata = (
bens_rec).
id;
1037 #line 440 "tcandidate.ec"
1039 #line 440 "tcandidate.ec"
1041 #line 440 "tcandidate.ec"
1043 #line 440 "tcandidate.ec"
1045 #line 440 "tcandidate.ec"
1047 #line 440 "tcandidate.ec"
1048 _sqobind[6].sqldata = (
bens_rec).e;
1049 #line 440 "tcandidate.ec"
1050 _sqobind[7].sqldata = (
bens_rec).p;
1051 #line 440 "tcandidate.ec"
1053 #line 440 "tcandidate.ec"
1054 _sqobind[9].sqldata = (
bens_rec).des;
1055 #line 440 "tcandidate.ec"
1056 _sqobind[10].sqldata = (
bens_rec).det;
1057 #line 440 "tcandidate.ec"
1058 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1059 #line 440 "tcandidate.ec"
1060 _sqobind[12].sqldata = (
bens_rec).new_report;
1061 #line 440 "tcandidate.ec"
1062 _sqobind[13].sqldata = (
bens_rec).active;
1063 #line 440 "tcandidate.ec"
1065 #line 440 "tcandidate.ec"
1066 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1067 #line 440 "tcandidate.ec"
1068 _sqobind[16].sqldata = (
bens_rec).prod;
1069 #line 440 "tcandidate.ec"
1070 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1071 #line 440 "tcandidate.ec"
1072 _sqobind[18].sqldata = (
bens_rec).obsag;
1073 #line 440 "tcandidate.ec"
1074 _sqobind[19].sqldata = (
bens_rec).obsloc;
1075 #line 440 "tcandidate.ec"
1076 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1077 #line 440 "tcandidate.ec"
1078 _sqobind[21].sqldata = (
bens_rec).final_avail;
1079 #line 440 "tcandidate.ec"
1080 _sqobind[22].sqldata = (
bens_rec).ownag;
1081 #line 440 "tcandidate.ec"
1082 _sqobind[23].sqldata = (
bens_rec).ownloc;
1083 #line 440 "tcandidate.ec"
1084 _sqobind[24].sqldata = (
bens_rec).maintag;
1085 #line 440 "tcandidate.ec"
1086 _sqobind[25].sqldata = (
bens_rec).maintloc;
1087 #line 440 "tcandidate.ec"
1088 _sqobind[26].sqldata = (
bens_rec).init;
1089 #line 440 "tcandidate.ec"
1090 _sqobind[27].sqldata = (
bens_rec).dbsource;
1091 #line 440 "tcandidate.ec"
1092 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,2,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1093 #line 440 "tcandidate.ec"
1113 #line 446 "tcandidate.ec"
1115 #line 456 "tcandidate.ec"
1116 static const char *sqlcmdtxt[] =
1117 #line 456 "tcandidate.ec"
1119 #line 456 "tcandidate.ec"
1120 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'D' and t = ? and s = 'R' and e = 'X' and p = 'Z'",
1123 #line 456 "tcandidate.ec"
1124 static ifx_cursor_t _SQ0 = {0};
1125 static ifx_sqlvar_t _sqibind[] =
1127 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1128 { 108, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1129 #line 456 "tcandidate.ec"
1131 static ifx_sqlvar_t _sqobind[] =
1133 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1134 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1135 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1136 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1137 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1138 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1139 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1140 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1141 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1142 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1143 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1144 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1145 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1146 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1147 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1148 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1149 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1150 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1151 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1152 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1153 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1154 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1155 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1156 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1157 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1158 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1159 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1160 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1161 #line 456 "tcandidate.ec"
1163 #line 456 "tcandidate.ec"
1165 #line 456 "tcandidate.ec"
1166 _sqibind[1].sqldata = &
t;
1167 #line 456 "tcandidate.ec"
1168 _sqobind[0].sqldata = (
bens_rec).
id;
1169 #line 456 "tcandidate.ec"
1171 #line 456 "tcandidate.ec"
1173 #line 456 "tcandidate.ec"
1175 #line 456 "tcandidate.ec"
1177 #line 456 "tcandidate.ec"
1179 #line 456 "tcandidate.ec"
1180 _sqobind[6].sqldata = (
bens_rec).e;
1181 #line 456 "tcandidate.ec"
1182 _sqobind[7].sqldata = (
bens_rec).p;
1183 #line 456 "tcandidate.ec"
1185 #line 456 "tcandidate.ec"
1186 _sqobind[9].sqldata = (
bens_rec).des;
1187 #line 456 "tcandidate.ec"
1188 _sqobind[10].sqldata = (
bens_rec).det;
1189 #line 456 "tcandidate.ec"
1190 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1191 #line 456 "tcandidate.ec"
1192 _sqobind[12].sqldata = (
bens_rec).new_report;
1193 #line 456 "tcandidate.ec"
1194 _sqobind[13].sqldata = (
bens_rec).active;
1195 #line 456 "tcandidate.ec"
1197 #line 456 "tcandidate.ec"
1198 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1199 #line 456 "tcandidate.ec"
1200 _sqobind[16].sqldata = (
bens_rec).prod;
1201 #line 456 "tcandidate.ec"
1202 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1203 #line 456 "tcandidate.ec"
1204 _sqobind[18].sqldata = (
bens_rec).obsag;
1205 #line 456 "tcandidate.ec"
1206 _sqobind[19].sqldata = (
bens_rec).obsloc;
1207 #line 456 "tcandidate.ec"
1208 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1209 #line 456 "tcandidate.ec"
1210 _sqobind[21].sqldata = (
bens_rec).final_avail;
1211 #line 456 "tcandidate.ec"
1212 _sqobind[22].sqldata = (
bens_rec).ownag;
1213 #line 456 "tcandidate.ec"
1214 _sqobind[23].sqldata = (
bens_rec).ownloc;
1215 #line 456 "tcandidate.ec"
1216 _sqobind[24].sqldata = (
bens_rec).maintag;
1217 #line 456 "tcandidate.ec"
1218 _sqobind[25].sqldata = (
bens_rec).maintloc;
1219 #line 456 "tcandidate.ec"
1220 _sqobind[26].sqldata = (
bens_rec).init;
1221 #line 456 "tcandidate.ec"
1222 _sqobind[27].sqldata = (
bens_rec).dbsource;
1223 #line 456 "tcandidate.ec"
1224 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,2,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1225 #line 456 "tcandidate.ec"
1245 #line 462 "tcandidate.ec"
1247 #line 472 "tcandidate.ec"
1248 static const char *sqlcmdtxt[] =
1249 #line 472 "tcandidate.ec"
1251 #line 472 "tcandidate.ec"
1252 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'I' and t = 'F' and s = 'P' and e = 'X' and p = 'Z'",
1255 #line 472 "tcandidate.ec"
1256 static ifx_cursor_t _SQ0 = {0};
1257 static ifx_sqlvar_t _sqibind[] =
1259 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1260 #line 472 "tcandidate.ec"
1262 static ifx_sqlvar_t _sqobind[] =
1264 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1265 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1266 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1267 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1268 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1269 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1270 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1271 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1272 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1273 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1274 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1275 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1276 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1277 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1278 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1279 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1280 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1281 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1282 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1283 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1284 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1285 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1286 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1287 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1288 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1289 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1290 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1291 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1292 #line 472 "tcandidate.ec"
1294 #line 472 "tcandidate.ec"
1296 #line 472 "tcandidate.ec"
1297 _sqobind[0].sqldata = (
bens_rec).
id;
1298 #line 472 "tcandidate.ec"
1300 #line 472 "tcandidate.ec"
1302 #line 472 "tcandidate.ec"
1304 #line 472 "tcandidate.ec"
1306 #line 472 "tcandidate.ec"
1308 #line 472 "tcandidate.ec"
1309 _sqobind[6].sqldata = (
bens_rec).e;
1310 #line 472 "tcandidate.ec"
1311 _sqobind[7].sqldata = (
bens_rec).p;
1312 #line 472 "tcandidate.ec"
1314 #line 472 "tcandidate.ec"
1315 _sqobind[9].sqldata = (
bens_rec).des;
1316 #line 472 "tcandidate.ec"
1317 _sqobind[10].sqldata = (
bens_rec).det;
1318 #line 472 "tcandidate.ec"
1319 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1320 #line 472 "tcandidate.ec"
1321 _sqobind[12].sqldata = (
bens_rec).new_report;
1322 #line 472 "tcandidate.ec"
1323 _sqobind[13].sqldata = (
bens_rec).active;
1324 #line 472 "tcandidate.ec"
1326 #line 472 "tcandidate.ec"
1327 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1328 #line 472 "tcandidate.ec"
1329 _sqobind[16].sqldata = (
bens_rec).prod;
1330 #line 472 "tcandidate.ec"
1331 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1332 #line 472 "tcandidate.ec"
1333 _sqobind[18].sqldata = (
bens_rec).obsag;
1334 #line 472 "tcandidate.ec"
1335 _sqobind[19].sqldata = (
bens_rec).obsloc;
1336 #line 472 "tcandidate.ec"
1337 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1338 #line 472 "tcandidate.ec"
1339 _sqobind[21].sqldata = (
bens_rec).final_avail;
1340 #line 472 "tcandidate.ec"
1341 _sqobind[22].sqldata = (
bens_rec).ownag;
1342 #line 472 "tcandidate.ec"
1343 _sqobind[23].sqldata = (
bens_rec).ownloc;
1344 #line 472 "tcandidate.ec"
1345 _sqobind[24].sqldata = (
bens_rec).maintag;
1346 #line 472 "tcandidate.ec"
1347 _sqobind[25].sqldata = (
bens_rec).maintloc;
1348 #line 472 "tcandidate.ec"
1349 _sqobind[26].sqldata = (
bens_rec).init;
1350 #line 472 "tcandidate.ec"
1351 _sqobind[27].sqldata = (
bens_rec).dbsource;
1352 #line 472 "tcandidate.ec"
1353 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,1,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1354 #line 472 "tcandidate.ec"
1375 #line 479 "tcandidate.ec"
1377 #line 489 "tcandidate.ec"
1378 static const char *sqlcmdtxt[] =
1379 #line 489 "tcandidate.ec"
1381 #line 489 "tcandidate.ec"
1382 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'I' and t = 'F' and s = 'G' and e = 'X' and p = 'Z'",
1385 #line 489 "tcandidate.ec"
1386 static ifx_cursor_t _SQ0 = {0};
1387 static ifx_sqlvar_t _sqibind[] =
1389 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1390 #line 489 "tcandidate.ec"
1392 static ifx_sqlvar_t _sqobind[] =
1394 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1395 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1396 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1397 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1398 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1399 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1400 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1401 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1402 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1403 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1404 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1405 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1406 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1407 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1408 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1409 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1410 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1411 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1412 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1413 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1414 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1415 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1416 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1417 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1418 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1419 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1420 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1421 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1422 #line 489 "tcandidate.ec"
1424 #line 489 "tcandidate.ec"
1426 #line 489 "tcandidate.ec"
1427 _sqobind[0].sqldata = (
bens_rec).
id;
1428 #line 489 "tcandidate.ec"
1430 #line 489 "tcandidate.ec"
1432 #line 489 "tcandidate.ec"
1434 #line 489 "tcandidate.ec"
1436 #line 489 "tcandidate.ec"
1438 #line 489 "tcandidate.ec"
1439 _sqobind[6].sqldata = (
bens_rec).e;
1440 #line 489 "tcandidate.ec"
1441 _sqobind[7].sqldata = (
bens_rec).p;
1442 #line 489 "tcandidate.ec"
1444 #line 489 "tcandidate.ec"
1445 _sqobind[9].sqldata = (
bens_rec).des;
1446 #line 489 "tcandidate.ec"
1447 _sqobind[10].sqldata = (
bens_rec).det;
1448 #line 489 "tcandidate.ec"
1449 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1450 #line 489 "tcandidate.ec"
1451 _sqobind[12].sqldata = (
bens_rec).new_report;
1452 #line 489 "tcandidate.ec"
1453 _sqobind[13].sqldata = (
bens_rec).active;
1454 #line 489 "tcandidate.ec"
1456 #line 489 "tcandidate.ec"
1457 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1458 #line 489 "tcandidate.ec"
1459 _sqobind[16].sqldata = (
bens_rec).prod;
1460 #line 489 "tcandidate.ec"
1461 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1462 #line 489 "tcandidate.ec"
1463 _sqobind[18].sqldata = (
bens_rec).obsag;
1464 #line 489 "tcandidate.ec"
1465 _sqobind[19].sqldata = (
bens_rec).obsloc;
1466 #line 489 "tcandidate.ec"
1467 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1468 #line 489 "tcandidate.ec"
1469 _sqobind[21].sqldata = (
bens_rec).final_avail;
1470 #line 489 "tcandidate.ec"
1471 _sqobind[22].sqldata = (
bens_rec).ownag;
1472 #line 489 "tcandidate.ec"
1473 _sqobind[23].sqldata = (
bens_rec).ownloc;
1474 #line 489 "tcandidate.ec"
1475 _sqobind[24].sqldata = (
bens_rec).maintag;
1476 #line 489 "tcandidate.ec"
1477 _sqobind[25].sqldata = (
bens_rec).maintloc;
1478 #line 489 "tcandidate.ec"
1479 _sqobind[26].sqldata = (
bens_rec).init;
1480 #line 489 "tcandidate.ec"
1481 _sqobind[27].sqldata = (
bens_rec).dbsource;
1482 #line 489 "tcandidate.ec"
1483 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,1,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1484 #line 489 "tcandidate.ec"
1505 #line 496 "tcandidate.ec"
1507 #line 506 "tcandidate.ec"
1508 static const char *sqlcmdtxt[] =
1509 #line 506 "tcandidate.ec"
1511 #line 506 "tcandidate.ec"
1512 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'I' and t = 'F' and s = 'M' and e = 'X' and p = 'Z'",
1515 #line 506 "tcandidate.ec"
1516 static ifx_cursor_t _SQ0 = {0};
1517 static ifx_sqlvar_t _sqibind[] =
1519 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1520 #line 506 "tcandidate.ec"
1522 static ifx_sqlvar_t _sqobind[] =
1524 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1525 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1526 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1527 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1528 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1529 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1530 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1531 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1532 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1533 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1534 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1535 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1536 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1537 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1538 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1539 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1540 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1541 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1542 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1543 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1544 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1545 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1546 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1547 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1548 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1549 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1550 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1551 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1552 #line 506 "tcandidate.ec"
1554 #line 506 "tcandidate.ec"
1556 #line 506 "tcandidate.ec"
1557 _sqobind[0].sqldata = (
bens_rec).
id;
1558 #line 506 "tcandidate.ec"
1560 #line 506 "tcandidate.ec"
1562 #line 506 "tcandidate.ec"
1564 #line 506 "tcandidate.ec"
1566 #line 506 "tcandidate.ec"
1568 #line 506 "tcandidate.ec"
1569 _sqobind[6].sqldata = (
bens_rec).e;
1570 #line 506 "tcandidate.ec"
1571 _sqobind[7].sqldata = (
bens_rec).p;
1572 #line 506 "tcandidate.ec"
1574 #line 506 "tcandidate.ec"
1575 _sqobind[9].sqldata = (
bens_rec).des;
1576 #line 506 "tcandidate.ec"
1577 _sqobind[10].sqldata = (
bens_rec).det;
1578 #line 506 "tcandidate.ec"
1579 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1580 #line 506 "tcandidate.ec"
1581 _sqobind[12].sqldata = (
bens_rec).new_report;
1582 #line 506 "tcandidate.ec"
1583 _sqobind[13].sqldata = (
bens_rec).active;
1584 #line 506 "tcandidate.ec"
1586 #line 506 "tcandidate.ec"
1587 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1588 #line 506 "tcandidate.ec"
1589 _sqobind[16].sqldata = (
bens_rec).prod;
1590 #line 506 "tcandidate.ec"
1591 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1592 #line 506 "tcandidate.ec"
1593 _sqobind[18].sqldata = (
bens_rec).obsag;
1594 #line 506 "tcandidate.ec"
1595 _sqobind[19].sqldata = (
bens_rec).obsloc;
1596 #line 506 "tcandidate.ec"
1597 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1598 #line 506 "tcandidate.ec"
1599 _sqobind[21].sqldata = (
bens_rec).final_avail;
1600 #line 506 "tcandidate.ec"
1601 _sqobind[22].sqldata = (
bens_rec).ownag;
1602 #line 506 "tcandidate.ec"
1603 _sqobind[23].sqldata = (
bens_rec).ownloc;
1604 #line 506 "tcandidate.ec"
1605 _sqobind[24].sqldata = (
bens_rec).maintag;
1606 #line 506 "tcandidate.ec"
1607 _sqobind[25].sqldata = (
bens_rec).maintloc;
1608 #line 506 "tcandidate.ec"
1609 _sqobind[26].sqldata = (
bens_rec).init;
1610 #line 506 "tcandidate.ec"
1611 _sqobind[27].sqldata = (
bens_rec).dbsource;
1612 #line 506 "tcandidate.ec"
1613 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,1,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1614 #line 506 "tcandidate.ec"
1634 #line 512 "tcandidate.ec"
1636 #line 522 "tcandidate.ec"
1637 static const char *sqlcmdtxt[] =
1638 #line 522 "tcandidate.ec"
1640 #line 522 "tcandidate.ec"
1641 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'I' and t = 'F' and s = 'Z' and e = 'X' and p = 'Z'",
1644 #line 522 "tcandidate.ec"
1645 static ifx_cursor_t _SQ0 = {0};
1646 static ifx_sqlvar_t _sqibind[] =
1648 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1649 #line 522 "tcandidate.ec"
1651 static ifx_sqlvar_t _sqobind[] =
1653 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1654 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1655 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1656 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1657 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1658 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1659 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1660 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1661 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1662 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1663 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1664 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1665 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1666 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1667 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1668 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1669 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1670 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1671 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1672 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1673 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1674 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1675 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1676 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1677 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1678 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1679 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1680 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1681 #line 522 "tcandidate.ec"
1683 #line 522 "tcandidate.ec"
1685 #line 522 "tcandidate.ec"
1686 _sqobind[0].sqldata = (
bens_rec).
id;
1687 #line 522 "tcandidate.ec"
1689 #line 522 "tcandidate.ec"
1691 #line 522 "tcandidate.ec"
1693 #line 522 "tcandidate.ec"
1695 #line 522 "tcandidate.ec"
1697 #line 522 "tcandidate.ec"
1698 _sqobind[6].sqldata = (
bens_rec).e;
1699 #line 522 "tcandidate.ec"
1700 _sqobind[7].sqldata = (
bens_rec).p;
1701 #line 522 "tcandidate.ec"
1703 #line 522 "tcandidate.ec"
1704 _sqobind[9].sqldata = (
bens_rec).des;
1705 #line 522 "tcandidate.ec"
1706 _sqobind[10].sqldata = (
bens_rec).det;
1707 #line 522 "tcandidate.ec"
1708 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1709 #line 522 "tcandidate.ec"
1710 _sqobind[12].sqldata = (
bens_rec).new_report;
1711 #line 522 "tcandidate.ec"
1712 _sqobind[13].sqldata = (
bens_rec).active;
1713 #line 522 "tcandidate.ec"
1715 #line 522 "tcandidate.ec"
1716 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1717 #line 522 "tcandidate.ec"
1718 _sqobind[16].sqldata = (
bens_rec).prod;
1719 #line 522 "tcandidate.ec"
1720 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1721 #line 522 "tcandidate.ec"
1722 _sqobind[18].sqldata = (
bens_rec).obsag;
1723 #line 522 "tcandidate.ec"
1724 _sqobind[19].sqldata = (
bens_rec).obsloc;
1725 #line 522 "tcandidate.ec"
1726 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1727 #line 522 "tcandidate.ec"
1728 _sqobind[21].sqldata = (
bens_rec).final_avail;
1729 #line 522 "tcandidate.ec"
1730 _sqobind[22].sqldata = (
bens_rec).ownag;
1731 #line 522 "tcandidate.ec"
1732 _sqobind[23].sqldata = (
bens_rec).ownloc;
1733 #line 522 "tcandidate.ec"
1734 _sqobind[24].sqldata = (
bens_rec).maintag;
1735 #line 522 "tcandidate.ec"
1736 _sqobind[25].sqldata = (
bens_rec).maintloc;
1737 #line 522 "tcandidate.ec"
1738 _sqobind[26].sqldata = (
bens_rec).init;
1739 #line 522 "tcandidate.ec"
1740 _sqobind[27].sqldata = (
bens_rec).dbsource;
1741 #line 522 "tcandidate.ec"
1742 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,1,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1743 #line 522 "tcandidate.ec"
1763 #line 528 "tcandidate.ec"
1765 #line 538 "tcandidate.ec"
1766 static const char *sqlcmdtxt[] =
1767 #line 538 "tcandidate.ec"
1769 #line 538 "tcandidate.ec"
1770 " select * from sens where id = ? and pe1 = 'T' and pe2 = 'A' and dur = 'I' and t = 'F' and s = 'R' and e = 'X' and p = 'Z'",
1773 #line 538 "tcandidate.ec"
1774 static ifx_cursor_t _SQ0 = {0};
1775 static ifx_sqlvar_t _sqibind[] =
1777 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1778 #line 538 "tcandidate.ec"
1780 static ifx_sqlvar_t _sqobind[] =
1782 { 100, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1783 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1784 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1785 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1786 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1787 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1788 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1789 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1790 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1791 { 100, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1792 { 100, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1793 { 102,
sizeof((
bens_rec).post), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1794 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1795 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1796 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1797 { 102,
sizeof((
bens_rec).obstime), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1798 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1799 { 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1800 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1801 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1802 { 100, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1803 { 100, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1804 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1805 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1806 { 100, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1807 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1808 { 100, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1809 { 100, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
1810 #line 538 "tcandidate.ec"
1812 #line 538 "tcandidate.ec"
1814 #line 538 "tcandidate.ec"
1815 _sqobind[0].sqldata = (
bens_rec).
id;
1816 #line 538 "tcandidate.ec"
1818 #line 538 "tcandidate.ec"
1820 #line 538 "tcandidate.ec"
1822 #line 538 "tcandidate.ec"
1824 #line 538 "tcandidate.ec"
1826 #line 538 "tcandidate.ec"
1827 _sqobind[6].sqldata = (
bens_rec).e;
1828 #line 538 "tcandidate.ec"
1829 _sqobind[7].sqldata = (
bens_rec).p;
1830 #line 538 "tcandidate.ec"
1832 #line 538 "tcandidate.ec"
1833 _sqobind[9].sqldata = (
bens_rec).des;
1834 #line 538 "tcandidate.ec"
1835 _sqobind[10].sqldata = (
bens_rec).det;
1836 #line 538 "tcandidate.ec"
1837 _sqobind[11].sqldata = (
char *) &(
bens_rec).post;
1838 #line 538 "tcandidate.ec"
1839 _sqobind[12].sqldata = (
bens_rec).new_report;
1840 #line 538 "tcandidate.ec"
1841 _sqobind[13].sqldata = (
bens_rec).active;
1842 #line 538 "tcandidate.ec"
1844 #line 538 "tcandidate.ec"
1845 _sqobind[15].sqldata = (
char *) &(
bens_rec).obstime;
1846 #line 538 "tcandidate.ec"
1847 _sqobind[16].sqldata = (
bens_rec).prod;
1848 #line 538 "tcandidate.ec"
1849 _sqobind[17].sqldata = (
bens_rec).prod2ary;
1850 #line 538 "tcandidate.ec"
1851 _sqobind[18].sqldata = (
bens_rec).obsag;
1852 #line 538 "tcandidate.ec"
1853 _sqobind[19].sqldata = (
bens_rec).obsloc;
1854 #line 538 "tcandidate.ec"
1855 _sqobind[20].sqldata = (
bens_rec).prov_avail;
1856 #line 538 "tcandidate.ec"
1857 _sqobind[21].sqldata = (
bens_rec).final_avail;
1858 #line 538 "tcandidate.ec"
1859 _sqobind[22].sqldata = (
bens_rec).ownag;
1860 #line 538 "tcandidate.ec"
1861 _sqobind[23].sqldata = (
bens_rec).ownloc;
1862 #line 538 "tcandidate.ec"
1863 _sqobind[24].sqldata = (
bens_rec).maintag;
1864 #line 538 "tcandidate.ec"
1865 _sqobind[25].sqldata = (
bens_rec).maintloc;
1866 #line 538 "tcandidate.ec"
1867 _sqobind[26].sqldata = (
bens_rec).init;
1868 #line 538 "tcandidate.ec"
1869 _sqobind[27].sqldata = (
bens_rec).dbsource;
1870 #line 538 "tcandidate.ec"
1871 sqli_slct(ESQLINTVERSION, &_SQ0,(
char **) sqlcmdtxt,1,_sqibind,28,_sqobind,0,(ifx_literal_t *) 0,(ifx_namelist_t *) 0,0);
1872 #line 538 "tcandidate.ec"
1947 itemp1=ival-itemp*100;
1949 flat=(float)itemp+(
float)itemp1/60;
1954 else if(ival > 10000) {
1958 itemp1=(ival-itemp*10000)/100;
1960 itemp2=ival-itemp*10000-itemp1*100;
1962 flat=(float)itemp+(
float)itemp1/60 + (float)itemp2/3600;
1984 itemp1=ival-itemp*100;
1986 flng=(float)itemp+(
float)itemp1/60;
1991 else if(ival >=100000) {
1995 itemp1=(ival-itemp*10000)/100;
1997 itemp2=ival-itemp*10000-itemp1*100;
1999 flng=(float)itemp+(
float)itemp1/60 + (float)itemp2/3600;
2029 for(ii=0;ii<49;ii++) {
2041 fprintf(fp,
"%s %s %f %f %d %d %s\n",
2053 #line 716 "tcandidate.ec"
printf("pcp %d\n", pcp_in_use[103])
int pro_dly(char *hb5, char *parm, struct stim begin_date, struct stim end_date, char *qual, struct stn_values *stn_values)
struct sqlca_s::sqlcaw_s sqlwarn
struct data_rec data_record
void main(int argc, char **argv)
struct sqlca_s ifx_sqlca_t
struct pro_dly_rec dly_rec
struct pro_hrly_rec hrly_rec