-- Generated by BladeSmith 4.20.FC1  DO NOT MODIFY. --

execute procedure ifx_allow_newline('t');

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "downgrade check",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE downgrade_check()
  DEFINE nmajor integer;
  DEFINE nminor integer;
  DEFINE slevel integer;
  DEFINE packed_id integer;
  DEFINE Ch2nd char(1);

  SELECT dbinfo('version','major') INTO nmajor
     FROM systables WHERE tabid = 1;
  SELECT dbinfo('version','minor') INTO nminor
     FROM systables WHERE tabid = 1;

  IF ( nmajor < 12 or (nmajor = 12 and nminor = 10) ) THEN
    IF ( nmajor = 12 ) THEN
      SELECT substr(dbinfo('version','level'), 3,1) INTO Ch2nd 
            FROM systables WHERE tabid = 1;
      IF ( Ch2nd >= '0' and Ch2nd <= '9') THEN
         SELECT substr(dbinfo('version','level'), 2,2)::int INTO slevel 
            FROM systables WHERE tabid = 1;
      ELSE
         SELECT substr(dbinfo('version','level'), 2,1)::int INTO slevel 
            FROM systables WHERE tabid = 1;
      END IF
      IF ( slevel > 2 or slevel is null) THEN
          return;
      END IF
    END IF 
    SELECT first 1 id INTO packed_id FROM tsinstancetable WHERE bitand(flags, '16') = 16;
    IF (packed_id is not null) THEN
    RAISE EXCEPTION -746, 0, 'Can not downgrade from database with TimeSeries packed data.';
    END IF
  END IF
END PROCEDURE;
EXECUTE PROCEDURE downgrade_check();
DROP PROCEDURE downgrade_check;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "CalendarPattern",
	"%SYSBLDUSER%", 0,
	"create opaque type CalendarPattern(
	internallength = variable,
	maxlen = 8192,
	alignment = 4
);

",
	"f",
	"drop type CalendarPattern restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "CalendarPattern",
	"%SYSBLDUSER%", 0,
	"grant usage on type CalendarPattern to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "CalendarPattern",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarPatternIn (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function CalendarPatternIn (lvarchar)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_input)"" language c;

",
	"f",
	"drop function CalendarPatternIn (lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarPatternIn (lvarchar)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarPatternIn (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarPatternIn (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarPatternIn (lvarchar)",
	"%SYSBLDUSER%",
	5, "CalendarPatternIn (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "lvarchar->CalendarPattern",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		lvarchar as CalendarPattern
		with  CalendarPatternIn
	);

",
	"f",
	"drop cast (lvarchar as CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "lvarchar->CalendarPattern",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarPatternOut (CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"create function CalendarPatternOut (CalendarPattern)
returns lvarchar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_output)"" language c;

",
	"f",
	"drop function CalendarPatternOut (CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarPatternOut (CalendarPattern)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarPatternOut (CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarPatternOut (CalendarPattern) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarPatternOut (CalendarPattern)",
	"%SYSBLDUSER%",
	5, "CalendarPatternOut (CalendarPattern)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "CalendarPattern->lvarchar",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		CalendarPattern as lvarchar
		with  CalendarPatternOut
	);

",
	"f",
	"drop cast (CalendarPattern as lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "CalendarPattern->lvarchar",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarPatternSend (CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"create function CalendarPatternSend (CalendarPattern)
returns sendrecv with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_swap)"" language c;

",
	"f",
	"drop function CalendarPatternSend (CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarPatternSend (CalendarPattern)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarPatternSend (CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarPatternSend (CalendarPattern) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarPatternSend (CalendarPattern)",
	"%SYSBLDUSER%",
	5, "CalendarPatternSend (CalendarPattern)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "CalendarPattern->sendrecv",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		CalendarPattern as sendrecv
		with  CalendarPatternSend
	);

",
	"f",
	"drop cast (CalendarPattern as sendrecv);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "CalendarPattern->sendrecv",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarPatternRecv (sendrecv)",
	"%SYSBLDUSER%", 0,
	"create function CalendarPatternRecv (sendrecv)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_swap)"" language c;

",
	"f",
	"drop function CalendarPatternRecv (sendrecv);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarPatternRecv (sendrecv)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarPatternRecv (sendrecv)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarPatternRecv (sendrecv) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarPatternRecv (sendrecv)",
	"%SYSBLDUSER%",
	5, "CalendarPatternRecv (sendrecv)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "sendrecv->CalendarPattern",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		sendrecv as CalendarPattern
		with  CalendarPatternRecv
	);

",
	"f",
	"drop cast (sendrecv as CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "sendrecv->CalendarPattern",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "CalendarPattern Table",
	"%SYSBLDUSER%", 0,
	"create table CalendarPatterns
( 
    cp_name varchar(255) not null unique, 
    cp_pattern CalendarPattern not null
) lock mode row;

",
	"f",
	"drop table CalendarPatterns;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarPattern Table",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "Calendar",
	"%SYSBLDUSER%", 0,
	"create opaque type Calendar(
	internallength = variable,
	maxlen = 8192,
	alignment = 4
);

",
	"f",
	"drop type Calendar restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "Calendar",
	"%SYSBLDUSER%", 0,
	"grant usage on type Calendar to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "Calendar",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarIn (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function CalendarIn (lvarchar)
returns Calendar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_input)"" language c;

",
	"f",
	"drop function CalendarIn (lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarIn (lvarchar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarIn (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarIn (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarIn (lvarchar)",
	"%SYSBLDUSER%",
	5, "CalendarIn (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "lvarchar->Calendar",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		lvarchar as Calendar
		with  CalendarIn
	);

",
	"f",
	"drop cast (lvarchar as Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "lvarchar->Calendar",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarOut (Calendar)",
	"%SYSBLDUSER%", 0,
	"create function CalendarOut (Calendar)
returns lvarchar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_output)"" language c;

",
	"f",
	"drop function CalendarOut (Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarOut (Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarOut (Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarOut (Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarOut (Calendar)",
	"%SYSBLDUSER%",
	5, "CalendarOut (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "Calendar->lvarchar",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		Calendar as lvarchar
		with  CalendarOut
	);

",
	"f",
	"drop cast (Calendar as lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "Calendar->lvarchar",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarSend (Calendar)",
	"%SYSBLDUSER%", 0,
	"create function CalendarSend (Calendar)
returns sendrecv with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_swap)"" language c;

",
	"f",
	"drop function CalendarSend (Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarSend (Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarSend (Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarSend (Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarSend (Calendar)",
	"%SYSBLDUSER%",
	5, "CalendarSend (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "Calendar->sendrecv",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		Calendar as sendrecv
		with  CalendarSend
	);

",
	"f",
	"drop cast (Calendar as sendrecv);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "Calendar->sendrecv",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalendarRecv (sendrecv)",
	"%SYSBLDUSER%", 0,
	"create function CalendarRecv (sendrecv)
returns Calendar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_swap)"" language c;

",
	"f",
	"drop function CalendarRecv (sendrecv);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalendarRecv (sendrecv)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalendarRecv (sendrecv)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalendarRecv (sendrecv) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalendarRecv (sendrecv)",
	"%SYSBLDUSER%",
	5, "CalendarRecv (sendrecv)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "sendrecv->Calendar",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		sendrecv as Calendar
		with  CalendarRecv
	);

",
	"f",
	"drop cast (sendrecv as Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "sendrecv->Calendar",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "Destroy (Calendar)",
	"%SYSBLDUSER%", 0,
	"create procedure Destroy (Calendar)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_destroy)"" language c;

",
	"f",
	"drop procedure Destroy (Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	6, "Destroy (Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-Destroy (Calendar)",
	"%SYSBLDUSER%", 0,
	"alter procedure Destroy (Calendar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_destroy)"");

",
	"f",
	"alter procedure Destroy (Calendar)
	with (Modify External Name = ""ts_cal_destroy"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-Destroy (Calendar)",
	"%SYSBLDUSER%",
	6, "Destroy (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-Destroy (Calendar)",
	"%SYSBLDUSER%", 0,
	"alter procedure Destroy (Calendar)
	with (add not variant);

",
	"f",
	"alter procedure Destroy (Calendar)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-Destroy (Calendar)",
	"%SYSBLDUSER%",
	6, "Destroy (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "Destroy (Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure Destroy (Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "Destroy (Calendar)",
	"%SYSBLDUSER%",
	6, "Destroy (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "CalendarTable",
	"%SYSBLDUSER%", 0,
	"create table CalendarTable
( 
    c_id serial not null unique, 
    c_version integer default 0 not null,
    c_refcount integer default 0 not null,
    c_name varchar(255) not null unique,
    c_calendar Calendar not null, 
    unique(c_name, c_version)
) lock mode row;

",
	"f",
	"drop table CalendarTable;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable",
	"%SYSBLDUSER%",
	0, "CalendarPattern Table",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable",
	"%SYSBLDUSER%",
	6, "Destroy (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "tsPartitionDesc_t",
	"%SYSBLDUSER%", 0,
	"create distinct type tsPartitionDesc_t as lvarchar;

",
	"f",
	"drop type tsPartitionDesc_t restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "tsPartitionDesc_t",
	"%SYSBLDUSER%", 0,
	"grant usage on type tsPartitionDesc_t to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "tsPartitionDesc_t",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainertable",
	"%SYSBLDUSER%", 0,
	"create table tscontainertable(
    name varchar( 18,1) not null primary key,
    subtype varchar( 18,1) not null,
    partitionDesc tsPartitionDesc_t not null,
    flags integer not null) lock mode row;
 

",
	"f",
	"
drop table tscontainertable;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsinstancetable",
	"%SYSBLDUSER%", 0,
	"create table tsinstancetable (
    id SERIAL not null primary key,
    cal_id INTEGER,
    flags SMALLINT,
    vers SMALLINT,
    container_name VARCHAR(18,1),
    ref_count integer) lock mode row;
 

",
	"f",
	"
drop table tsinstancetable;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable",
	"%SYSBLDUSER%",
	0, "tscontainertable",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "TimeSeries",
	"%SYSBLDUSER%", 0,
	"create constructor type TimeSeries(
	internallength = variable,
	maxlen = 2048,
	alignment = 8
);

",
	"f",
	"drop type TimeSeries restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "TimeSeries",
	"%SYSBLDUSER%", 0,
	"grant usage on type TimeSeries to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "TimeSeries",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesIn (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesIn (lvarchar)
returns TimeSeries with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_datain)"" language c;

",
	"f",
	"drop function TimeSeriesIn (lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TimeSeriesIn (lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesIn (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesIn (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesIn (lvarchar)",
	"%SYSBLDUSER%",
	5, "TimeSeriesIn (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "lvarchar->TimeSeries",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		lvarchar as TimeSeries
		with  TimeSeriesIn
	);

",
	"f",
	"drop cast (lvarchar as TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "lvarchar->TimeSeries",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesOut (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesOut (TimeSeries)
returns lvarchar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_out)"" language c;

",
	"f",
	"drop function TimeSeriesOut (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TimeSeriesOut (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesOut (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesOut (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesOut (TimeSeries)",
	"%SYSBLDUSER%",
	5, "TimeSeriesOut (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "TimeSeries->lvarchar",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		TimeSeries as lvarchar
		with  TimeSeriesOut
	);

",
	"f",
	"drop cast (TimeSeries as lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "TimeSeries->lvarchar",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesSend (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesSend (TimeSeries)
returns sendrecv with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_send)"" language c;

",
	"f",
	"drop function TimeSeriesSend (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TimeSeriesSend (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesSend (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesSend (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesSend (TimeSeries)",
	"%SYSBLDUSER%",
	5, "TimeSeriesSend (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "TimeSeries->sendrecv",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		TimeSeries as sendrecv
		with  TimeSeriesSend
	);

",
	"f",
	"drop cast (TimeSeries as sendrecv);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "TimeSeries->sendrecv",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesRecv (sendrecv)",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesRecv (sendrecv)
returns TimeSeries with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_receive)"" language c;

",
	"f",
	"drop function TimeSeriesRecv (sendrecv);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TimeSeriesRecv (sendrecv)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesRecv (sendrecv)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesRecv (sendrecv) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesRecv (sendrecv)",
	"%SYSBLDUSER%",
	5, "TimeSeriesRecv (sendrecv)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "sendrecv->TimeSeries",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		sendrecv as TimeSeries
		with  TimeSeriesRecv
	);

",
	"f",
	"drop cast (sendrecv as TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "sendrecv->TimeSeries",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_beginscan (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_beginscan)"" language c;

",
	"f",
	"drop function ts_vtam_beginscan (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_beginscan (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_beginscan)"");

",
	"f",
	"alter function ts_vtam_beginscan (pointer)
	with (Modify External Name = ""ts_vtam_beginscan"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_beginscan (pointer)
	with (add parallelizable);

",
	"f",
	"alter function ts_vtam_beginscan (pointer)
	with (drop parallelizable);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	37, "Alter-Parallelize-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_beginscan (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_beginscan (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_beginscan (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_check (pointer,int)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_check)"" language c;

",
	"f",
	"drop function ts_vtam_check (pointer,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_check (pointer,int)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_check)"");

",
	"f",
	"alter function ts_vtam_check (pointer,int)
	with (Modify External Name = ""ts_vtam_check"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_check (pointer,int)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_check (pointer,int)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_check (pointer,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_close (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_close)"" language c;

",
	"f",
	"drop function ts_vtam_close (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_close (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_close (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_close)"");

",
	"f",
	"alter function ts_vtam_close (pointer)
	with (Modify External Name = ""ts_vtam_close"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_close (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_close (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_close (pointer)
	with (add parallelizable);

",
	"f",
	"alter function ts_vtam_close (pointer)
	with (drop parallelizable);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	37, "Alter-Parallelize-ts_vtam_close (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_close (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_close (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_close (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_close (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_close (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_create (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"" language c;

",
	"f",
	"drop function ts_vtam_create (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_create (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_create (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"");

",
	"f",
	"alter function ts_vtam_create (pointer)
	with (Modify External Name = ""ts_vtam_create"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_create (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_create (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_create (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_create (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_create (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_create (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_delete (pointer,int)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_delete)"" language c;

",
	"f",
	"drop function ts_vtam_delete (pointer,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_delete (pointer,int)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_delete)"");

",
	"f",
	"alter function ts_vtam_delete (pointer,int)
	with (Modify External Name = ""ts_vtam_delete"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_delete (pointer,int)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_delete (pointer,int)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_delete (pointer,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_drop (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_drop)"" language c;

",
	"f",
	"drop function ts_vtam_drop (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_drop (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_drop (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_drop)"");

",
	"f",
	"alter function ts_vtam_drop (pointer)
	with (Modify External Name = ""ts_vtam_drop"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_drop (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_drop (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_drop (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_drop (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_drop (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_drop (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_endscan (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_endscan)"" language c;

",
	"f",
	"drop function ts_vtam_endscan (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_endscan (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_endscan)"");

",
	"f",
	"alter function ts_vtam_endscan (pointer)
	with (Modify External Name = ""ts_vtam_endscan"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_endscan (pointer)
	with (add parallelizable);

",
	"f",
	"alter function ts_vtam_endscan (pointer)
	with (drop parallelizable);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	37, "Alter-Parallelize-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_endscan (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_endscan (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_endscan (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_getbyid (pointer,pointer,int)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getbyid)"" language c;

",
	"f",
	"drop function ts_vtam_getbyid (pointer,pointer,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_getbyid (pointer,pointer,int)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getbyid)"");

",
	"f",
	"alter function ts_vtam_getbyid (pointer,pointer,int)
	with (Modify External Name = ""ts_vtam_getbyid"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_getbyid (pointer,pointer,int)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_getbyid (pointer,pointer,int)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_getbyid (pointer,pointer,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_getnext (pointer,pointer,pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getnext)"" language c;

",
	"f",
	"drop function ts_vtam_getnext (pointer,pointer,pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_getnext (pointer,pointer,pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getnext)"");

",
	"f",
	"alter function ts_vtam_getnext (pointer,pointer,pointer)
	with (Modify External Name = ""ts_vtam_getnext"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_getnext (pointer,pointer,pointer)
	with (add parallelizable);

",
	"f",
	"alter function ts_vtam_getnext (pointer,pointer,pointer)
	with (drop parallelizable);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	37, "Alter-Parallelize-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_getnext (pointer,pointer,pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_getnext (pointer,pointer,pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_getnext (pointer,pointer,pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_insert (pointer,pointer,pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_insert)"" language c;

",
	"f",
	"drop function ts_vtam_insert (pointer,pointer,pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_insert (pointer,pointer,pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_insert)"");

",
	"f",
	"alter function ts_vtam_insert (pointer,pointer,pointer)
	with (Modify External Name = ""ts_vtam_insert"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_insert (pointer,pointer,pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_insert (pointer,pointer,pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_insert (pointer,pointer,pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_open (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_open)"" language c;

",
	"f",
	"drop function ts_vtam_open (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_open (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_open (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_open)"");

",
	"f",
	"alter function ts_vtam_open (pointer)
	with (Modify External Name = ""ts_vtam_open"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_open (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_open (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_open (pointer)
	with (add parallelizable);

",
	"f",
	"alter function ts_vtam_open (pointer)
	with (drop parallelizable);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	37, "Alter-Parallelize-ts_vtam_open (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_open (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_open (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_open (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_open (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_open (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_rescan (pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_rescan)"" language c;

",
	"f",
	"drop function ts_vtam_rescan (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_rescan (pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_rescan)"");

",
	"f",
	"alter function ts_vtam_rescan (pointer)
	with (Modify External Name = ""ts_vtam_rescan"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 37, "Alter-Parallelize-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_rescan (pointer)
	with (add parallelizable);

",
	"f",
	"alter function ts_vtam_rescan (pointer)
	with (drop parallelizable);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	37, "Alter-Parallelize-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_rescan (pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_rescan (pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_rescan (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_scancost (pointer,pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_scancost)"" language c;

",
	"f",
	"drop function ts_vtam_scancost (pointer,pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_scancost (pointer,pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_scancost)"");

",
	"f",
	"alter function ts_vtam_scancost (pointer,pointer)
	with (Modify External Name = ""ts_vtam_scancost"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_scancost (pointer,pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_scancost (pointer,pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_scancost (pointer,pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_stats (pointer,pointer)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_stats)"" language c;

",
	"f",
	"drop function ts_vtam_stats (pointer,pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_stats (pointer,pointer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_stats)"");

",
	"f",
	"alter function ts_vtam_stats (pointer,pointer)
	with (Modify External Name = ""ts_vtam_stats"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_stats (pointer,pointer)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_stats (pointer,pointer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_stats (pointer,pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_update (pointer,pointer,int)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_update)"" language c;

",
	"f",
	"drop function ts_vtam_update (pointer,pointer,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_update (pointer,pointer,int)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_update)"");

",
	"f",
	"alter function ts_vtam_update (pointer,pointer,int)
	with (Modify External Name = ""ts_vtam_update"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 85, "Alter-Variant-ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"alter function ts_vtam_update (pointer,pointer,int)
	with (add not variant);

",
	"f",
	"alter function ts_vtam_update (pointer,pointer,int)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	85, "Alter-Variant-ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_update (pointer,pointer,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%",
	5, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "ts_vtam",
	"%SYSBLDUSER%", 0,
	"CREATE PRIMARY ACCESS_METHOD ts_vtam (
	AM_SPTYPE	=	'A'			,
	AM_READWRITE					,
	AM_PARALLEL					,
	AM_CREATE	=	ts_vtam_create		,
	AM_DROP		=	ts_vtam_drop		,
	AM_INSERT	=	ts_vtam_insert		,
	AM_STATS	=	ts_vtam_stats		,
	AM_SCANCOST	=	ts_vtam_scancost	,
	AM_CHECK	=	ts_vtam_check		,
	AM_RESCAN	=	ts_vtam_rescan		,

	AM_BEGINSCAN	=	ts_vtam_beginscan	,
	AM_GETNEXT	=	ts_vtam_getnext		,
	AM_ENDSCAN	=	ts_vtam_endscan		,
	AM_OPEN		=	ts_vtam_open		,
	AM_CLOSE	=	ts_vtam_close
);

",
	"f",
	"drop access_method ts_vtam restrict;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_create (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_drop (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	5, "ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	0, "ts_vtam",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	32, "Alter-Parallelize-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_beginscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_check (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	32, "Alter-Parallelize-ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	32, "Alter-Parallelize-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_close (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_create (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_delete (pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_drop (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_endscan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_getbyid (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	32, "Alter-Parallelize-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_getnext (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_insert (pointer,pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	32, "Alter-Parallelize-ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_open (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	32, "Alter-Parallelize-ts_vtam_rescan (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_scancost (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_stats (pointer,pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-ts_vtam_update (pointer,pointer,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "vtitrace",
	"%SYSBLDUSER%", 0,
	"insert into informix.systraceclasses(name) values('TS_VTI_DEBUG');
",
	"f",
	"delete from informix.systraceclasses where name='TS_VTI_DEBUG';

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "CalendarCacheDel ()",
	"%SYSBLDUSER%", 0,
	"create procedure CalendarCacheDel ()
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_del_all_entries)"" language c;

",
	"f",
	"drop procedure CalendarCacheDel ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-CalendarCacheDel ()",
	"%SYSBLDUSER%", 0,
	"alter procedure CalendarCacheDel ()
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_del_all_entries)"");

",
	"f",
	"alter procedure CalendarCacheDel ()
	with (Modify External Name = ""ts_cal_del_all_entries"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-CalendarCacheDel ()",
	"%SYSBLDUSER%",
	6, "CalendarCacheDel ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "CalendarCacheDel ()",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure CalendarCacheDel () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "CalendarCacheDel ()",
	"%SYSBLDUSER%",
	6, "CalendarCacheDel ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure CalendarError (lvarchar,lvarchar)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_error_raise)"" language c;

",
	"f",
	"drop procedure CalendarError (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure CalendarError (lvarchar,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_error_raise)"");

",
	"f",
	"alter procedure CalendarError (lvarchar,lvarchar)
	with (Modify External Name = ""ts_error_raise"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure CalendarError (lvarchar,lvarchar)
	with (add not variant);

",
	"f",
	"alter procedure CalendarError (lvarchar,lvarchar)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure CalendarError (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure CalNameCheck (lvarchar)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_check_name_sql)"" language c;

",
	"f",
	"drop procedure CalNameCheck (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-CalNameCheck (lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure CalNameCheck (lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_check_name_sql)"");

",
	"f",
	"alter procedure CalNameCheck (lvarchar)
	with (Modify External Name = ""ts_check_name_sql"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-CalNameCheck (lvarchar)",
	"%SYSBLDUSER%",
	6, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-CalNameCheck (lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure CalNameCheck (lvarchar)
	with (add not variant);

",
	"f",
	"alter procedure CalNameCheck (lvarchar)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-CalNameCheck (lvarchar)",
	"%SYSBLDUSER%",
	6, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure CalNameCheck (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%",
	6, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "CalendarTableTriggers",
	"%SYSBLDUSER%", 0,
	"create trigger CalendarIns
    insert on CalendarTable
    referencing new as calendar
    for each row
        (execute procedure CalNameCheck( calendar.c_name));
 
create trigger CalendarDelete
    delete on CalendarTable
    referencing old as calendar
    for each row when (calendar.c_refcount > 0
                       or exists( select id from tsinstancetable
                                    where cal_id = calendar.c_id))
        (execute procedure CalendarError('UTSA6', calendar.c_name))
    after (execute procedure CalendarCacheDel());
 
create trigger CalendarNameUpd
    update of c_name, c_calendar on CalendarTable
    referencing old as old_calendar
                new as new_calendar
    for each row
        when (old_calendar.c_refcount > 0
              or exists( select id from tsinstancetable
                             where cal_id = old_calendar.c_id))
            (execute procedure CalendarError('UTSA7', old_calendar.c_name)),
        (execute procedure CalNameCheck( new_calendar.c_name))
    after (execute procedure CalendarCacheDel());
 
create trigger CalendarRefUpd
    update of c_refcount on CalendarTable
    referencing old as origcalendar
                new as newcalendar
    for each row when (origcalendar.c_refcount > 0 and
                       origcalendar.c_refcount <> newcalendar.c_refcount + 1 and
                       origcalendar.c_refcount <> newcalendar.c_refcount - 1)
        (execute procedure CalendarError('UTSA7', origcalendar.c_name));

",
	"f",
	"drop trigger CalendarDelete;
 
drop trigger CalendarNameUpd;
 
drop trigger CalendarRefUpd;

drop trigger CalendarIns;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	6, "CalendarCacheDel ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	0, "CalendarTable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	6, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	80, "Alter-Variant-CalendarCacheDel ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-CalendarCacheDel ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"create function Update (tsPartitionDesc_t,tsPartitionDesc_t)
returns tsPartitionDesc_t
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_update)"" language c;

",
	"f",
	"drop function Update (tsPartitionDesc_t,tsPartitionDesc_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Update (tsPartitionDesc_t,tsPartitionDesc_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainertable_triggers",
	"%SYSBLDUSER%", 0,
	"create trigger TsContainerUpd
    update of name, subtype on tscontainertable
    referencing old as container
    for each row
        (execute procedure CalendarError('UTSD0', container.name::lvarchar));
create trigger TsContainerDel
delete on tscontainertable
referencing old as container
for each row when (exists (select id from tsinstancetable
          where container_name = container.name ))
    (execute procedure CalendarError('UTSDA', container.name::lvarchar));
",
	"f",
	"drop trigger TsContainerUpd;

drop trigger TsContainerDel;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%",
	6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%",
	0, "tscontainertable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%",
	5, "Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%",
	80, "Alter-Variant-Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-Update (tsPartitionDesc_t,tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsinstancetable_triggers",
	"%SYSBLDUSER%", 0,
	"create trigger TsInstanceDelete
    delete on tsinstancetable
    referencing old as instance
    for each row when (instance.ref_count > 0)
        (execute procedure CalendarError('UTSDA', instance.container_name));
 
create trigger TsInstanceNameUpd
    update of container_name on tsinstancetable
    referencing old as instance
    for each row
        (execute procedure CalendarError('UTSDB', instance.container_name));
 
create trigger TsInstanceRefUpd
    update of ref_count on tsinstancetable
    referencing old as originstance
                new as newinstance
    for each row when (originstance.ref_count > 0 and
                       originstance.ref_count <> newinstance.ref_count + 1 and
                       originstance.ref_count <> newinstance.ref_count - 1)
        (execute procedure CalendarError('UTSDC', originstance.container_name));

",
	"f",
	"drop trigger TsInstanceDelete;
 
drop trigger TsInstanceNameUpd;
 
drop trigger TsInstanceRefUpd;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_triggers",
	"%SYSBLDUSER%",
	6, "CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_triggers",
	"%SYSBLDUSER%",
	0, "tsinstancetable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_triggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-CalendarError (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "CalendarPattTriggers",
	"%SYSBLDUSER%", 0,
	"create trigger CalPattIns
    insert on CalendarPatterns
    referencing new as pattern
    for each row
        (execute procedure CalNameCheck( pattern.cp_name));
 
create trigger CalPattNameUpd
    update of cp_name on CalendarPatterns
    referencing new as new_pattern
    for each row
        (execute procedure CalNameCheck( new_pattern.cp_name));

",
	"f",
	"drop trigger CalPattIns;

drop trigger CalPattNameUpd;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarPattTriggers",
	"%SYSBLDUSER%",
	0, "CalendarPattern Table",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarPattTriggers",
	"%SYSBLDUSER%",
	6, "CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarPattTriggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-CalNameCheck (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"create function GetPartitionDesc (tsPartitionDesc_t)
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_partition_sql)"" language c;

",
	"f",
	"drop function GetPartitionDesc (tsPartitionDesc_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetPartitionDesc (tsPartitionDesc_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	5, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainertable_128",
	"%SYSBLDUSER%", 0,
	"ALTER TABLE tscontainertable
        MODIFY (name VARCHAR(128, 1) NOT NULL PRIMARY KEY,
                 subtype VARCHAR(128,1) NOT NULL);

",
	"f",
	"ALTER TABLE TSContainerTable
        MODIFY (name VARCHAR(128, 1) NOT NULL PRIMARY KEY,
                 subtype VARCHAR(128,1) NOT NULL);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_128",
	"%SYSBLDUSER%",
	5, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_128",
	"%SYSBLDUSER%",
	0, "tscontainertable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_128",
	"%SYSBLDUSER%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_128",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsinstancetable_128",
	"%SYSBLDUSER%", 0,
	"ALTER TABLE tsinstancetable
        MODIFY (container_name VARCHAR(128, 1));

",
	"f",
	"ALTER TABLE tsinstancetable
        MODIFY (container_name VARCHAR(128, 1));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_128",
	"%SYSBLDUSER%",
	0, "tsinstancetable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_128",
	"%SYSBLDUSER%",
	0, "tsinstancetable_triggers",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainertable_pool",
	"%SYSBLDUSER%", 0,
	"ALTER TABLE tscontainertable ADD pool VARCHAR(128,1);

",
	"f",
	"ALTER TABLE tscontainertable DROP pool;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_pool",
	"%SYSBLDUSER%",
	0, "tscontainertable",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Assign (Calendar)",
	"%SYSBLDUSER%", 0,
	"create function Assign (Calendar)
returns Calendar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_assign)"" language c;

",
	"f",
	"drop function Assign (Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Assign (Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-Assign (Calendar)",
	"%SYSBLDUSER%", 0,
	"alter function Assign (Calendar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_assign)"");

",
	"f",
	"alter function Assign (Calendar)
	with (Modify External Name = ""ts_cal_assign"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-Assign (Calendar)",
	"%SYSBLDUSER%",
	5, "Assign (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Assign (Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Assign (Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Assign (Calendar)",
	"%SYSBLDUSER%",
	5, "Assign (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "CalendarTable_predefined",
	"%SYSBLDUSER%", 0,
	"CREATE TEMP TABLE __TSTempCalendarTable (
    c_name varchar(255) not null unique,
    c_calendar Calendar not null
) WITH NO LOG;
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_1min"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} minute)');
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_15min"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on, 14 off} minute)');
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_30min"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on, 29 off} minute)');
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_1hour"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} hour)');
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_1day"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} day)');
-- Week starts on Sunday
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_1week"", 'pattstart(2011-01-02 00:00:00.00000), pattern({1 on} week)');
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_1month"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} month)');
INSERT INTO __TSTempCalendarTable(c_name, c_calendar)
VALUES(""ts_1year"", 'pattstart(2011-01-01 00:00:00.00000), pattern({1 on} year)');

MERGE INTO CalendarTable AS old USING __TSTempCalendarTable AS new
ON old.c_name = new.c_name
WHEN NOT MATCHED THEN INSERT (c_name, c_calendar)
    VALUES (new.c_name, new.c_calendar);
DROP TABLE __TSTempCalendarTable;

",
	"f",
	"-- No Drop Code

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	5, "Assign (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	0, "CalendarTable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	0, "CalendarTableTriggers",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	6, "Destroy (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-Assign (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "CalendarTable_predefined",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-Destroy (Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%", 0,
	"create procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscontcache)"" language c;

",
	"f",
	"drop procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscontcache)"");

",
	"f",
	"alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
	with (Modify External Name = ""tsl_inscontcache"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%",
	6, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
	with (add not variant);

",
	"f",
	"alter procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%",
	6, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSL_InsContainerCache (varchar (128),varchar (128),int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%",
	6, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%", 0,
	"-- force the new path
alter function GetPartitionDesc (tsPartitionDesc_t)
      with (Modify External Name = '$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_partition_sql)');

CREATE TRIGGER TSContainerIns INSERT ON tscontainertable
REFERENCING NEW as new 
FOR EACH ROW (EXECUTE PROCEDURE TSL_InsContainerCache(new.subtype, new.name, new.flags, getpartitiondesc(new.partitiondesc)));
CREATE TRIGGER TSContainerUpdPF UPDATE OF partitiondesc,flags ON tscontainertable
REFERENCING NEW as new
FOR EACH ROW (EXECUTE PROCEDURE TSL_InsContainerCache(new.subtype, new.name, new.flags, getpartitiondesc(new.partitiondesc)));

",
	"f",
	"CREATE PROCEDURE ts_temp_drop_trigger()
        DEFINE cnt integer;
        SELECT count(*) INTO cnt FROM SYSTRIGGERS WHERE
                trim(trigname) = 'tscontainerins';
        IF (cnt != 0) THEN
                DROP TRIGGER tscontainerins;
        END IF
        SELECT count(*) INTO cnt FROM SYSTRIGGERS WHERE
                trim(trigname) = 'tscontainerupdpf';
        IF (cnt != 0) THEN
                DROP TRIGGER tscontainerupdpf;
        END IF
END PROCEDURE;
EXECUTE PROCEDURE ts_temp_drop_trigger();
DROP PROCEDURE ts_temp_drop_trigger();

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%",
	5, "GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%",
	0, "tscontainertable_pool",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%",
	6, "TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-GetPartitionDesc (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-TSL_InsContainerCache (varchar,varchar,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
        bld_id,
        obj_kind,
        obj_signature,
        obj_owner,
        need_obj_kind,
        need_obj_signature,
        need_obj_owner)
        values
(
        "%SYSBLDNAME%",
        0, "tscontainertable_instriggers_tsl",
        "%SYSBLDUSER%",
        182, "Alter-ExternalName-TSL_InsContainerCache (varchar,varchar,int,int)",
        "%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSUpgradeContainers.%SYSBLDDIR%",
	"%SYSBLDUSER%", 0,
	"create function TSUpgradeContainers ()
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upgrade_containers_sql)"" language c;

",
	"f",
	"drop function TSUpgradeContainers ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSUpgradeContainers ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSUpgradeContainers () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSUpgradeContainers ()",
	"%SYSBLDUSER%",
	5, "TSUpgradeContainers.%SYSBLDDIR%",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainerupgrade",
	"%SYSBLDUSER%", 0,
	"execute function TSUpgradeContainers();
",
	"f",
	"
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerupgrade",
	"%SYSBLDUSER%",
	0, "tscontainertable_instriggers_tsl",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerupgrade",
	"%SYSBLDUSER%",
	0, "tscontainertable_pool",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerupgrade",
	"%SYSBLDUSER%",
	5, "TSUpgradeContainers.%SYSBLDDIR%",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "TSContainerWindow_r",
	"%SYSBLDUSER%", 0,
	"create row type TSContainerWindow_r
(
	tstamp	datetime year to fraction(5),
	partition	tsPartitionDesc_t
);

",
	"f",
	"drop row type TSContainerWindow_r restrict;

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	7, "TSContainerWindow_r",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "TSContainerWindow_r",
	"%SYSBLDUSER%", 0,
	"grant usage on type TSContainerWindow_r to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "TSContainerWindow_r",
	"%SYSBLDUSER%",
	7, "TSContainerWindow_r",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsinstancetable_bigint",
	"%SYSBLDUSER%", 0,
	"ALTER TABLE tsinstancetable
   MODIFY (id bigserial not null primary key);

",
	"f",
	"ALTER TABLE tsinstancetable
   MODIFY (id serial not null primary key);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_bigint",
	"%SYSBLDUSER%",
	0, "tsinstancetable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_bigint",
	"%SYSBLDUSER%",
	0, "tsinstancetable_128",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsinstancetable_bigint",
	"%SYSBLDUSER%",
	0, "tsinstancetable_triggers",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainerwindowtable",
	"%SYSBLDUSER%", 0,
	"
CREATE PROCEDURE  tsdropcwt();
    define drop_wt integer;

    let drop_wt = 0;

    select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';

    if (drop_wt = 0) then
create table tscontainerwindowtable
(
        name                    varchar(128,1) not null primary key
                references tscontainertable(name) on delete cascade,
        windowinterval  varchar(8)
                default 'month',
        activewindowsize      integer default 0,
        dormantwindowsize   integer default 0,
        windowspaces    lvarchar(4096),
        activewindow    TimeSeries(TSContainerWindow_r),
        dormantwindow   TimeSeries(TSContainerWindow_r),
        container_size    integer default 16,
        container_grow    integer default 16,
        windowcontrol   integer default 0
);
    end if;

END PROCEDURE;

EXECUTE PROCEDURE  tsdropcwt();
DROP PROCEDURE  tsdropcwt();

",
	"f",
	" ",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
	0, "tscontainerupgrade",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
        6, "Destroy (TimeSeries)",
        "%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
        bld_id,
        obj_kind,
        obj_signature,
        obj_owner,
        need_obj_kind,
        need_obj_signature,
        need_obj_owner)
        values
(
        "%SYSBLDNAME%",
        0, "tscontainerwindowtable",
        "%SYSBLDUSER%",
        182, "Alter-ExternalName-Destroy (TimeSeries)",
        "%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
        bld_id,
        obj_kind,
        obj_signature,
        obj_owner,
        need_obj_kind,
        need_obj_signature,
        need_obj_owner)
        values
(
        "%SYSBLDNAME%",
        0, "tscontainerwindowtable",
        "%SYSBLDUSER%",
	7, "TSContainerWindow_r",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
	0, "tsinstancetable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
	0, "tsinstancetable_128",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
	0, "tsinstancetable_bigint",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%",
	0, "tsinstancetable_triggers",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSCreateVirtualTab (lvarchar,lvarchar,int default NULL,lvarchar default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti)"" language c;

",
	"f",
	"drop procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti)"");

",
	"f",
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
	with (Modify External Name = ""ts_create_vti"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "ContainerUsage",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)
        with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti)"");
alter function ts_vtam_create (pointer)
        with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"");
alter function ts_vtam_create (pointer)
        with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_create)"");
alter function ts_vtam_open (pointer)
        with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_open)"");

CREATE PROCEDURE  tsdropcontainerusagevti();
    define drop_aw integer;
    define drop_dw integer;

    let drop_aw = 0;
    let drop_dw = 0;

    select count(*) into drop_aw from systables where tabname =
               'tscontainerusageactivewindowvti';
    select count(*) into drop_dw from systables where tabname =
               'tscontainerusagedormantwindowvti';

    if (drop_aw != 0) then
         DROP TABLE TSContainerUsageActiveWindowVTI;
    end if;
    if (drop_dw != 0) then
         DROP TABLE TSContainerUsageDormantWindowVTI;
    end if;

END PROCEDURE;

EXECUTE PROCEDURE  tsdropcontainerusagevti();
DROP PROCEDURE  tsdropcontainerusagevti();

EXECUTE PROCEDURE TSCreateVirtualTab(
        'tscontainerusageactivewindowvti',
        'tscontainerwindowtable',
        0,
        'activewindow');

EXECUTE PROCEDURE TSCreateVirtualTab(
        'tscontainerusagedormantwindowvti',
        'tscontainerwindowtable',
        0,
        'dormantwindow');

CREATE FUNCTION TSContainerUsage (
        cname VARCHAR(128),
        rw_flag integer default 0)
RETURNING BIGINT AS pages, BIGINT AS slots, BIGINT AS total;
     DEFINE n, nused, npages BIGINT;
     DEFINE nslots BIGINT;
     DEFINE err_msg VARCHAR(255);
     DEFINE wild_cname VARCHAR(128);
     DEFINE do_wild INTEGER;

     LET n, npages, nslots, nused = 0, NULL, NULL, NULL;

     IF ((rw_flag IS NOT NULL) AND ((rw_flag < 0) OR (rw_flag > 3))) THEN
        -- verify with ID
        RAISE EXCEPTION -746, 0, 'Invalid rw_flag parameter';
     END IF;

     LET do_wild = 0;
     IF (cname IS NOT NULL) THEN
         LET wild_cname = substring_index(cname,'*',1);
         IF (cname != wild_cname) THEN
    	     LET do_wild = 1;
         ELSE
             LET wild_cname = substring_index(cname,'?',1);
             IF (cname != wild_cname) THEN
        	     LET do_wild = 1;
             ELSE
                 LET wild_cname = substring_index(cname,'[',1);
                 IF (cname != wild_cname) THEN
            	     LET do_wild = 1;
                 END IF;
             END IF;
         END IF;
     END IF;

     IF (cname IS NULL) THEN
        LET err_msg = 'No containers found';

        IF ((rw_flag IS NULL) OR (rw_flag = 0)) THEN
            -- only active elements, either in a regular container or in the active window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                        SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                          FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                         WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                           AND BITAND(nc.flags, 8) = 0
                    UNION ALL
                        SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
                          FROM (
                                  SELECT rwcv.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                    FROM tscontainerusageactivewindowvti rwcv, OUTER sysmaster:sysptnhdr p
                                   WHERE getpartitiondesc (rwcv.partition) = p.partnum
                                UNION ALL
                                  -- ensure a row is returned even if the TS is empty
                                  SELECT rwct.name, 0, 0, 0
                                    FROM tscontainerwindowtable rwct
                               ) rwcp(name, npdata, nrows, nptotal)
                         GROUP BY rwcp.name
                   ) un(name, npdata, nrows, nptotal);
        ELIF (rw_flag = 1) THEN
            -- only dormant window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                    SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
                      FROM (
                                SELECT rwdc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                  FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr p
                                 WHERE getpartitiondesc (rwdc.partition) = p.partnum
                            UNION ALL
                                -- ensure a row is returned even if the TS is empty
                                SELECT rwct.name, 0, 0, 0
                                  FROM tscontainerwindowtable rwct
                           ) rwcp(name, npdata, nrows, nptotal)
                     GROUP BY rwcp.name
                   ) un(name, npdata, nrows, nptotal);
        ELIF (rw_flag = 2) THEN
            -- only container partition (not active and dormant window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                      FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                     WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                   ) un(name, npdata, nrows, nptotal);
        ELSE
            -- all data in all partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                        SELECT pt1.name, pt1.npdata, pt1.nrows, pt1.nptotal
                          FROM (
                                    SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                      FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                                     WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                                       AND BITAND(nc.flags, 8) = 0
                               ) pt1(name, npdata, nrows, nptotal)
                    UNION ALL
                        SELECT pt2.name, sum(pt2.npdata), sum(pt2.nrows), sum(pt2.nptotal)
                          FROM (
                                    SELECT rwnc.name, NVL(pnc.npdata,0), NVL(pnc.nrows,0), NVL(pnc.nptotal,0)
                                      FROM tscontainertable rwnc, OUTER sysmaster:sysptnhdr pnc
                                     WHERE getpartitiondesc (rwnc.partitiondesc) = pnc.partnum
                                       AND BITAND(rwnc.flags, 8) != 0
                                UNION ALL
                                    SELECT rwac.name, sum(NVL(prwac.npdata,0)),
                                           sum(NVL(prwac.nrows,0)), sum(NVL(prwac.nptotal,0))
                                      FROM tscontainerusageactivewindowvti rwac, OUTER sysmaster:sysptnhdr prwac
                                     WHERE getpartitiondesc (rwac.partition) = prwac.partnum
                                     GROUP BY rwac.name

                                UNION ALL
                                    SELECT rwdc.name, sum(NVL(prwdc.npdata,0)),
                                           sum(NVL(prwdc.nrows,0)), sum(NVL(prwdc.nptotal,0))
                                      FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr prwdc
                                     WHERE getpartitiondesc (rwdc.partition) = prwdc.partnum
                                     GROUP BY rwdc.name
                               ) pt2(name, npdata, nrows, nptotal)
                         GROUP BY name
                   ) un(name, npdata, nrows, nptotal);
        END IF;
     ELIF (do_wild = 1) THEN
        LET err_msg = 'No containers found';

        IF ((rw_flag IS NULL) OR (rw_flag = 0)) THEN
            -- only active elements, either in a regular container or in the active window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                        SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                          FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                         WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                           AND BITAND(nc.flags, 8) = 0
                           AND nc.name MATCHES cname
                    UNION ALL
                        SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
                          FROM (
                                  SELECT rwcv.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                    FROM tscontainerusageactivewindowvti rwcv, OUTER sysmaster:sysptnhdr p
                                   WHERE getpartitiondesc (rwcv.partition) = p.partnum
	                             AND rwcv.name MATCHES cname
                                UNION ALL
                                  -- ensure a row is returned even if the TS is empty
                                  SELECT rwct.name, 0, 0, 0
                                    FROM tscontainerwindowtable rwct
				   WHERE rwct.name MATCHES cname
                               ) rwcp(name, npdata, nrows, nptotal)
                         GROUP BY rwcp.name
                   ) un(name, npdata, nrows, nptotal);
        ELIF (rw_flag = 1) THEN
            -- only dormant window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                    SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
                      FROM (
                                SELECT rwdc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                  FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr p
                                 WHERE getpartitiondesc (rwdc.partition) = p.partnum
	                           AND rwdc.name MATCHES cname
                            UNION ALL
                                -- ensure a row is returned even if the TS is empty
                                SELECT rwct.name, 0, 0, 0
                                  FROM tscontainerwindowtable rwct
	                         WHERE rwct.name MATCHES cname

                           ) rwcp(name, npdata, nrows, nptotal)
                     GROUP BY rwcp.name
                   ) un(name, npdata, nrows, nptotal);
        ELIF (rw_flag = 2) THEN
            -- only container partition (not active and dormant window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                      FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                     WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                       AND nc.name MATCHES cname
                   ) un(name, npdata, nrows, nptotal);
        ELSE
            -- all data in all partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                        SELECT pt1.name, pt1.npdata, pt1.nrows, pt1.nptotal
                          FROM (
                                    SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                      FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                                     WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                                       AND BITAND(nc.flags, 8) = 0
                                       AND nc.name MATCHES cname
                               ) pt1(name, npdata, nrows, nptotal)
                    UNION ALL
                        SELECT pt2.name, sum(pt2.npdata), sum(pt2.nrows), sum(pt2.nptotal)
                          FROM (
                                    SELECT rwnc.name, NVL(pnc.npdata,0), NVL(pnc.nrows,0), NVL(pnc.nptotal,0)
                                      FROM tscontainertable rwnc, OUTER sysmaster:sysptnhdr pnc
                                     WHERE getpartitiondesc (rwnc.partitiondesc) = pnc.partnum
                                       AND BITAND(rwnc.flags, 8) != 0
                                       AND rwnc.name MATCHES cname
                                UNION ALL
                                    SELECT rwac.name, sum(NVL(prwac.npdata,0)),
                                           sum(NVL(prwac.nrows,0)), sum(NVL(prwac.nptotal,0))
                                      FROM tscontainerusageactivewindowvti rwac, OUTER sysmaster:sysptnhdr prwac
                                     WHERE getpartitiondesc (rwac.partition) = prwac.partnum
                                       AND rwac.name MATCHES cname
                                     GROUP BY rwac.name

                                UNION ALL
                                    SELECT rwdc.name, sum(NVL(prwdc.npdata,0)),
                                           sum(NVL(prwdc.nrows,0)), sum(NVL(prwdc.nptotal,0))
                                      FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr prwdc
                                     WHERE getpartitiondesc (rwdc.partition) = prwdc.partnum
                                       AND rwdc.name MATCHES cname
                                     GROUP BY rwdc.name
                               ) pt2(name, npdata, nrows, nptotal)
                         GROUP BY name
                   ) un(name, npdata, nrows, nptotal);
        END IF;
     ELSE
        IF ((rw_flag IS NOT NULL) AND (rw_flag != 0)) THEN
                LET err_msg = 'Rolling Window Container <'||cname||'> not found';
        ELSE
                LET err_msg = 'Container <'||cname||'> not found';
        END IF;
        IF ((rw_flag IS NULL) OR (rw_flag = 0)) THEN
            -- only active elements, either in a regular container or in the active window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                        SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                          FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                         WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                          AND nc.name = cname
                          AND BITAND(nc.flags, 8) = 0
                    UNION ALL
                        SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
                          FROM (
                                  SELECT rwcv.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                    FROM tscontainerusageactivewindowvti rwcv, OUTER sysmaster:sysptnhdr p
                                   WHERE getpartitiondesc (rwcv.partition) = p.partnum
                                     AND rwcv.name = cname
                                UNION ALL
                                  -- ensure a row is returned even if the TS is empty
                                  SELECT rwct.name, 0, 0, 0
                                    FROM tscontainerwindowtable rwct
                                   WHERE rwct.name = cname
                               ) rwcp(name, npdata, nrows, nptotal)
                        GROUP BY rwcp.name
                   ) un(name, npdata, nrows, nptotal);
        ELIF (rw_flag = 1) THEN
            -- only dormant window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                    SELECT rwcp.name, sum(rwcp.npdata), sum(rwcp.nrows), sum(rwcp.nptotal)
                      FROM (
                                SELECT rwdc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                  FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr p
                                 WHERE getpartitiondesc (rwdc.partition) = p.partnum
                                   AND rwdc.name = cname
                            UNION ALL
                                -- ensure a row is returned even if the TS is empty
                                SELECT rwct.name, 0, 0, 0
                                  FROM tscontainerwindowtable rwct
                                 WHERE rwct.name = cname
                           ) rwcp(name, npdata, nrows, nptotal)
                     GROUP BY rwcp.name
                   ) un(name, npdata, nrows, nptotal);
        ELIF (rw_flag = 2) THEN
            -- only container partition (not active and dormant window partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                      FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                     WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                       AND nc.name = cname
                   ) un(name, npdata, nrows, nptotal);
        ELSE
            -- all data in all partitions
            SELECT count(*), sum(un.npdata), sum(un.nrows), sum(un.nptotal)
              INTO n, nused, nslots, npages
              FROM (
                        SELECT pt1.name, pt1.npdata, pt1.nrows, pt1.nptotal
                          FROM (
                                    SELECT nc.name, NVL(p.npdata,0), NVL(p.nrows,0), NVL(p.nptotal,0)
                                      FROM tscontainertable nc, OUTER sysmaster:sysptnhdr p
                                     WHERE getpartitiondesc (nc.partitiondesc) = p.partnum
                                       AND nc.name = cname
                                       AND BITAND(nc.flags, 8) = 0
                               ) pt1(name, npdata, nrows, nptotal)
                    UNION ALL
                        SELECT pt2.name, sum(pt2.npdata), sum(pt2.nrows), sum(pt2.nptotal)
                          FROM (
                                    SELECT rwnc.name, NVL(pnc.npdata,0), NVL(pnc.nrows,0), NVL(pnc.nptotal,0)
                                      FROM tscontainertable rwnc, OUTER sysmaster:sysptnhdr pnc
                                     WHERE getpartitiondesc (rwnc.partitiondesc) = pnc.partnum
                                       AND rwnc.name = cname
                                       AND BITAND(rwnc.flags, 8) != 0
                                UNION ALL
                                    SELECT rwac.name, sum(NVL(prwac.npdata,0)),
                                           sum(NVL(prwac.nrows,0)), sum(NVL(prwac.nptotal,0))
                                      FROM tscontainerusageactivewindowvti rwac, OUTER sysmaster:sysptnhdr prwac
                                     WHERE getpartitiondesc (rwac.partition) = prwac.partnum
                                       AND rwac.name = cname
                                     GROUP BY rwac.name

                                UNION ALL
                                    SELECT rwdc.name, sum(NVL(prwdc.npdata,0)),
                                           sum(NVL(prwdc.nrows,0)), sum(NVL(prwdc.nptotal,0))
                                      FROM tscontainerusagedormantwindowvti rwdc, OUTER sysmaster:sysptnhdr prwdc
                                     WHERE getpartitiondesc (rwdc.partition) = prwdc.partnum
                                       AND rwdc.name = cname
                                     GROUP BY rwdc.name
                               ) pt2(name, npdata, nrows, nptotal)
                         GROUP BY name
                   ) un(name, npdata, nrows, nptotal);
        END IF;
     END IF
     IF (n = 0) THEN
        RAISE EXCEPTION -746, 0, err_msg;
     END IF;
     LET nslots = nslots - nused;
     RETURN nused, nslots, npages;
END FUNCTION;

CREATE FUNCTION TSContainerTotalUsed (
    cname VARCHAR(128),
    rw_flag integer default 0)
RETURNING BIGINT AS pages;
     DEFINE nused, npages BIGINT;
     DEFINE nslots BIGINT;
     LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
     RETURN nused;
END FUNCTION;

CREATE FUNCTION TSContainerTotalPages (
    cname VARCHAR(128),
    rw_flag integer default 0)
RETURNING BIGINT AS total;
     DEFINE nused, npages BIGINT;
     DEFINE nslots BIGINT;
     LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
     RETURN npages;
END FUNCTION;

CREATE FUNCTION TSContainerNElems (
    cname VARCHAR(128),
    rw_flag integer default 0)
RETURNING BIGINT AS elements;
     DEFINE nused, npages BIGINT;
     DEFINE nslots BIGINT;
     LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
     RETURN nslots;
END FUNCTION;

CREATE FUNCTION TSContainerPctUsed (
    cname VARCHAR(128),
    rw_flag integer default 0)
RETURNING DECIMAL(6,3) AS percent;
     DEFINE nused, npages DECIMAL(16,3);
     DEFINE nslots BIGINT;
     LET nused,nslots,npages = TSContainerUsage (cname, rw_flag);
     IF (npages = 0.0) THEN
         RETURN NULL;
     END IF;
     RETURN (100.0 * nused) / npages;
END FUNCTION;

",
	"f",
	"DROP FUNCTION TSContainerPctUsed(VARCHAR(128), integer);
DROP FUNCTION TSContainerNElems(VARCHAR(128), integer);
DROP FUNCTION TSContainerTotalPages(VARCHAR(128), integer);
DROP FUNCTION TSContainerTotalUsed(VARCHAR(128), integer);
DROP FUNCTION TSContainerUsage(VARCHAR(128), integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	0, "ts_vtam",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	0, "tscontainertable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	0, "tscontainertable_128",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	0, "tscontainertable_pool",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	0, "tscontainertable_triggers",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	50, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	80, "Alter-Variant-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ContainerUsage",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-TSCreateVirtualTab (lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsl_trigdrop",
	"%SYSBLDUSER%", 0,
	"CREATE FUNCTION __TSTempDropTriggers () returning lvarchar;
	define tn char(128);
	define ls char(2048);
	define dt char(2048);
	define rtn lvarchar;

	execute immediate ""CREATE TEMP TABLE __TSTempTrigTable (trigname varchar(128)) WITH NO LOG;"";
	let ls = ""insert into __TSTempTrigTable SELECT NVL(st.trigname,trignames.name) FROM"" ||
		""  (SELECT b.col1,"" ||
		""  DECODE(b.col1,'I','tseries_ldr'||b.col2||t.tabid||'_trig','D','tseries_ldr'||b.col2||t.tabid||'_trig'),'N/A'"" ||
		""  FROM systables t, TABLE(MULTISET{ROW('I','_ins_'),ROW('D','_del_')}) AS"" ||
		""  b(col1, col2) UNION SELECT"" ||
		""  'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',c.colname FROM"" ||
		""  systables t, syscolumns c, sysxtddesc x WHERE"" ||
		""  t.tabid=c.tabid AND c.extended_id = x.extended_id AND x.description LIKE"" ||
		""  'timeseries%') AS trignames(event,name,colname), systriggers st WHERE"" ||
		""  trignames.name = st.trigname"";
	execute immediate ls;
	let rtn = """";
	FOREACH trigger_name FOR SELECT trigname  INTO tn FROM __TSTempTrigTable
		let dt = ""drop trigger "" || tn;
		execute immediate dt;
		LET rtn = rtn || trim(tn) || "" "";
	END FOREACH;
	execute immediate ""DROP TABLE __TSTempTrigTable;"";
	return rtn;
END FUNCTION;
execute function __TSTempDropTriggers();
drop function __TSTempDropTriggers () ;

",
	"t",
	"
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_delcache)"" language c;

",
	"f",
	"drop procedure TSL_DelCache (varchar (128),varchar (128),lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_delcache)"");

",
	"f",
	"alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
	with (Modify External Name = ""tsl_delcache"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
	with (add not variant);

",
	"f",
	"alter procedure TSL_DelCache (varchar (128),varchar (128),lvarchar)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSL_DelCache (varchar (128),varchar (128),lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"create procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscache)"" language c;

",
	"f",
	"drop procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	0, "tsl_trigdrop",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_inscache)"");

",
	"f",
	"alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (Modify External Name = ""tsl_inscache"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (add not variant);

",
	"f",
	"alter procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSL_InsCache (varchar (128),varchar (128),lvarchar,timeseries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	6, "TSL_InsCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"create procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_updcache)"" language c;

",
	"f",
	"drop procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	0, "tsl_trigdrop",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_updcache)"");

",
	"f",
	"alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (Modify External Name = ""tsl_updcache"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (add not variant);

",
	"f",
	"alter procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSL_UpdCache (varchar (128),varchar (128),lvarchar,timeseries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%",
	6, "TSL_UpdCache (varchar,varchar,lvarchar,timeseries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsbinload_triggers",
	"%SYSBLDUSER%", 0,
	"

",
	"f",
	"CREATE FUNCTION __TSTempDropTriggers () returning lvarchar;
	define tn char(128);
	define ls char(2048);
	define dt char(2048);
	define rtn lvarchar;

	execute immediate ""CREATE TEMP TABLE __TSTempTrigTable (trigname varchar(128)) WITH NO LOG;"";
	let ls = ""insert into __TSTempTrigTable SELECT NVL(st.trigname,trignames.name) FROM"" ||
		""  (SELECT b.col1,"" ||
		""  DECODE(b.col1,'I','tseries_ldr'||b.col2||t.tabid||'_trig','D','tseries_ldr'||b.col2||t.tabid||'_trig'),'N/A'"" ||
		""  FROM systables t, TABLE(MULTISET{ROW('I','_ins_'),ROW('D','_del_')}) AS"" ||
		""  b(col1, col2) UNION SELECT"" ||
		""  'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',c.colname FROM"" ||
		""  systables t, syscolumns c, sysxtddesc x WHERE"" ||
		""  t.tabid=c.tabid AND c.extended_id = x.extended_id AND x.description LIKE"" ||
		""  'timeseries%') AS trignames(event,name,colname), systriggers st WHERE"" ||
		""  trignames.name = st.trigname"";
	execute immediate ls;
	let rtn = """";
	FOREACH trigger_name FOR SELECT trigname  INTO tn FROM __TSTempTrigTable
		let dt = ""drop trigger "" || tn;
		execute immediate dt;
		LET rtn = rtn || trim(tn) || "" "";
	END FOREACH;
	execute immediate ""DROP TABLE __TSTempTrigTable;"";
	return rtn;
END FUNCTION;
execute function __TSTempDropTriggers();
drop function __TSTempDropTriggers () ;

",
	"t"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	6, "TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	6, "TSL_InsCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	6, "TSL_UpdCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-TSL_DelCache (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-TSL_InsCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_triggers",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-TSL_UpdCache (varchar,varchar,lvarchar,int,datetime,varchar,varchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create procedure TSL_Shutdown (lvarchar,integer default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_grelease)"" language c;

",
	"f",
	"drop procedure TSL_Shutdown (lvarchar,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_Shutdown (lvarchar,integer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_grelease)"");

",
	"f",
	"alter procedure TSL_Shutdown (lvarchar,integer)
	with (Modify External Name = ""tsl_grelease"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%",
	6, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSL_Shutdown (lvarchar,integer)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSL_Shutdown (lvarchar,integer)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%",
	6, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSL_Shutdown (lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%",
	6, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsbinload_shutdown",
	"%SYSBLDUSER%", 0,
	"CREATE FUNCTION __TSTempLDRshutdown (tabname varchar(128),colname varchar(128)) RETURNING lvarchar;
        DEFINE ls LVARCHAR(2048);
        LET ls = ""EXECUTE PROCEDURE TSL_Shutdown('""||trim(tabname)||""|""||trim(colname)||""');"";
        EXECUTE IMMEDIATE ls;
        RETURN trim(ls);
END FUNCTION;

SELECT __TSTempLDRshutdown(trim(tabname),trim(colname))
  FROM
       (SELECT  'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',t.tabname,c.colname
                FROM systables t, syscolumns c, sysxtddesc x
         WHERE t.tabid=c.tabid
           AND c.extended_id = x.extended_id
           AND x.description LIKE 'timeseries%') AS trignames(event,name,tabname,colname),
    systriggers st
 WHERE
    trignames.name = st.trigname;

DROP FUNCTION __TSTempLDRshutdown (varchar(128),varchar(128));

CREATE FUNCTION __TSTempDropTriggers () returning lvarchar;
	define tn char(128);
	define ls char(2048);
	define dt char(2048);
	define rtn lvarchar;

	execute immediate ""CREATE TEMP TABLE __TSTempTrigTable (trigname varchar(128)) WITH NO LOG;"";
	let ls = ""insert into __TSTempTrigTable SELECT NVL(st.trigname,trignames.name) FROM"" ||
		""  (SELECT b.col1,"" ||
		""  DECODE(b.col1,'I','tseries_ldr'||b.col2||t.tabid||'_trig','D','tseries_ldr'||b.col2||t.tabid||'_trig'),'N/A'"" ||
		""  FROM systables t, TABLE(MULTISET{ROW('I','_ins_'),ROW('D','_del_')}) AS"" ||
		""  b(col1, col2) UNION SELECT"" ||
		""  'U','tseries_ldr_upd_'||t.tabid||'_'||c.colno||'_trig',c.colname FROM"" ||
		""  systables t, syscolumns c, sysxtddesc x WHERE"" ||
		""  t.tabid=c.tabid AND c.extended_id = x.extended_id AND x.description LIKE"" ||
		""  'timeseries%') AS trignames(event,name,colname), systriggers st WHERE"" ||
		""  trignames.name = st.trigname"";
	execute immediate ls;
	let rtn = """";
	FOREACH trigger_name FOR SELECT trigname  INTO tn FROM __TSTempTrigTable
		let dt = ""drop trigger "" || tn;
		execute immediate dt;
		LET rtn = rtn || trim(tn) || "" "";
	END FOREACH;
	execute immediate ""DROP TABLE __TSTempTrigTable;"";
	return rtn;
END FUNCTION;
execute function __TSTempDropTriggers();
drop function __TSTempDropTriggers () ;

",
	"t",
	"
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_shutdown",
	"%SYSBLDUSER%",
	6, "TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsbinload_shutdown",
	"%SYSBLDUSER%",
	140, "Alter-PerCallStack-TSL_Shutdown (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "stream",
	"%SYSBLDUSER%", 0,
	"-- bladesmith does not support stream data type
CREATE FUNCTION streamwrite (stream, timeseries)
returning integer
external name '$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_streamwrite)'
language c;
grant execute on function streamwrite(stream,timeseries ) to public;

CREATE FUNCTION streamread (stream, OUT timeseries)
returning integer
external name '$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_streamread)'
language c;
grant execute on function streamread(stream,timeseries ) to public;
",
	"f",
	"drop function if exists streamread (stream, timeseries);
drop function if exists streamwrite (stream, timeseries);
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "stream",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "InstanceId (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function InstanceId (TimeSeries)
returns bigint with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_instid)"" language c;

",
	"f",
	"drop function InstanceId (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "InstanceId (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "InstanceId (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function InstanceId (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "InstanceId (TimeSeries)",
	"%SYSBLDUSER%",
	5, "InstanceId (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "ts_vtam_pushdown",
	"%SYSBLDUSER%", 0,
	"ALTER ACCESS_METHOD ts_vtam
   ADD AM_EXPR_PUSHDOWN;
",
	"f",
	"ALTER ACCESS_METHOD ts_vtam
   DROP AM_EXPR_PUSHDOWN;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam_pushdown",
	"%SYSBLDUSER%",
	0, "ts_vtam",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "ts_vtam_sbtype",
	"%SYSBLDUSER%", 0,
	"ALTER ACCESS_METHOD ts_vtam
    modify AM_SPTYPE       =       'D'
",
	"f",
	"ALTER ACCESS_METHOD ts_vtam
    modify AM_SPTYPE       =       'A'
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "ts_vtam_sbtype",
	"%SYSBLDUSER%",
	0, "ts_vtam_pushdown",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TSL_FlushStatus",
	"%SYSBLDUSER%", 0,
	"CREATE FUNCTION TSL_FlushStatus(val int)
  RETURNS int as num_instance_id_changes, int as num_elements_modified

  DEFINE v1, v2 integer;
  LET v1 = val / 65536;
  LET v2 = mod(val, 65536);
  RETURN v1, v2;
END FUNCTION;

GRANT EXECUTE ON FUNCTION TSL_FlushStatus (int) to public;
",
	"f",
	"DROP FUNCTION TSL_FlushStatus(int);
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "TimeSeriesMeta",
	"%SYSBLDUSER%", 0,
	"create opaque type TimeSeriesMeta(
	internallength = variable,
	maxlen = 512,
	alignment = 4
);

",
	"f",
	"drop type TimeSeriesMeta restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "TimeSeriesMeta",
	"%SYSBLDUSER%", 0,
	"grant usage on type TimeSeriesMeta to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "TimeSeriesMeta",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "TimeSeriesAggState",
	"%SYSBLDUSER%", 0,
	"create opaque type TimeSeriesAggState(
	internallength = variable,
	maxlen = 2048,
	alignment = 8
);

",
	"f",
	"drop type TimeSeriesAggState restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "TimeSeriesAggState",
	"%SYSBLDUSER%", 0,
	"grant usage on type TimeSeriesAggState to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "TimeSeriesAggState",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "TSRollup_t",
	"%SYSBLDUSER%", 0,
	"create opaque type TSRollup_t(
	internallength = variable,
	maxlen = 1024,
	alignment = 8
);

",
	"f",
	"drop type TSRollup_t restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "TSRollup_t",
	"%SYSBLDUSER%", 0,
	"grant usage on type TSRollup_t to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "TSRollup_t",
	"%SYSBLDUSER%",
	7, "TSRollup_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "TSL_FlushInfo_r",
	"%SYSBLDUSER%", 0,
	"create row type TSL_FlushInfo_r
(
	containers	integer,
	elements	integer,
	duplicates	integer,
	instance_ids	integer,
	commits	integer,
	rollbacks	integer,
	exceptions	integer,
	errors	integer
);

",
	"f",
	"drop row type TSL_FlushInfo_r restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "TSL_FlushInfo_r",
	"%SYSBLDUSER%", 0,
	"grant usage on type TSL_FlushInfo_r to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "TSL_FlushInfo_r",
	"%SYSBLDUSER%",
	7, "TSL_FlushInfo_r",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 7, "ts_packed_rowtype_t",
	"%SYSBLDUSER%", 0,
	"create row type ts_packed_rowtype_t
(
	ts_pack_tstamp		datetime year to fraction(5),
	ts_pack_lvarchar	lvarchar(32739)
);

",
	"f",
	"drop row type ts_packed_rowtype_t restrict;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 71, "ts_packed_rowtype_t",
	"%SYSBLDUSER%", 0,
	"grant usage on type ts_packed_rowtype_t to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	71, "ts_packed_rowtype_t",
	"%SYSBLDUSER%",
	7, "ts_packed_rowtype_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Expand (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function Expand (CalendarPattern,lvarchar)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_expand_sql)"" language c;

",
	"f",
	"drop function Expand (CalendarPattern,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Expand (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Expand (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Expand (CalendarPattern,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Expand (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%",
	5, "Expand (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Collapse (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function Collapse (CalendarPattern,lvarchar)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_collapse_sql)"" language c;

",
	"f",
	"drop function Collapse (CalendarPattern,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Collapse (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Collapse (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Collapse (CalendarPattern,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Collapse (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%",
	5, "Collapse (CalendarPattern,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "NotOp (CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"create function NotOp (CalendarPattern)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_not)"" language c;

",
	"f",
	"drop function NotOp (CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "NotOp (CalendarPattern)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "NotOp (CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"grant execute on function NotOp (CalendarPattern) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "NotOp (CalendarPattern)",
	"%SYSBLDUSER%",
	5, "NotOp (CalendarPattern)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "AndOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"create function AndOp (CalendarPattern,CalendarPattern)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_and)"" language c;

",
	"f",
	"drop function AndOp (CalendarPattern,CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "AndOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "AndOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"grant execute on function AndOp (CalendarPattern,CalendarPattern) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "AndOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%",
	5, "AndOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "OrOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"create function OrOp (CalendarPattern,CalendarPattern)
returns CalendarPattern with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattern_or)"" language c;

",
	"f",
	"drop function OrOp (CalendarPattern,CalendarPattern);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "OrOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%",
	7, "CalendarPattern",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "OrOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%", 0,
	"grant execute on function OrOp (CalendarPattern,CalendarPattern) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "OrOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%",
	5, "OrOp (CalendarPattern,CalendarPattern)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "AndOp (Calendar,Calendar)",
	"%SYSBLDUSER%", 0,
	"create function AndOp (Calendar,Calendar)
returns Calendar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_and)"" language c;

",
	"f",
	"drop function AndOp (Calendar,Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "AndOp (Calendar,Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "AndOp (Calendar,Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function AndOp (Calendar,Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "AndOp (Calendar,Calendar)",
	"%SYSBLDUSER%",
	5, "AndOp (Calendar,Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "OrOp (Calendar,Calendar)",
	"%SYSBLDUSER%", 0,
	"create function OrOp (Calendar,Calendar)
returns Calendar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calendar_or)"" language c;

",
	"f",
	"drop function OrOp (Calendar,Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "OrOp (Calendar,Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "OrOp (Calendar,Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function OrOp (Calendar,Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "OrOp (Calendar,Calendar)",
	"%SYSBLDUSER%",
	5, "OrOp (Calendar,Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalOrigin (lvarchar,datetime)",
	"%SYSBLDUSER%", 0,
	"create function CalOrigin (lvarchar,datetime year to fraction(5))
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_origin_sql)"" language c;

",
	"f",
	"drop function CalOrigin (lvarchar,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalOrigin (lvarchar,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalOrigin (lvarchar,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalOrigin (lvarchar,datetime)",
	"%SYSBLDUSER%",
	5, "CalOrigin (lvarchar,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalIndex (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function CalIndex (lvarchar,datetime year to fraction(5),datetime year to fraction(5))
returns int with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_intervals)"" language c;

",
	"f",
	"drop function CalIndex (lvarchar,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalIndex (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalIndex (lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalIndex (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "CalIndex (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalRange (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function CalRange (lvarchar,datetime year to fraction(5),datetime year to fraction(5))
returns list (datetime year to fraction(5) not null) with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_sql)"" language c;

",
	"f",
	"drop function CalRange (lvarchar,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalRange (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "datetime year to fraction(5)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalRange (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalRange (lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalRange (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "CalRange (lvarchar,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalRange (lvarchar,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function CalRange (lvarchar,datetime year to fraction(5),int)
returns list (datetime year to fraction(5) not null) with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_num)"" language c;

",
	"f",
	"drop function CalRange (lvarchar,datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CalRange (lvarchar,datetime,int)",
	"%SYSBLDUSER%",
	7, "datetime year to fraction(5)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalRange (lvarchar,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalRange (lvarchar,datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalRange (lvarchar,datetime,int)",
	"%SYSBLDUSER%",
	5, "CalRange (lvarchar,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"create procedure Destroy (tsPartitionDesc_t)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_destroy)"" language c;

",
	"f",
	"drop procedure Destroy (tsPartitionDesc_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	6, "Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"alter procedure Destroy (tsPartitionDesc_t)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_destroy)"");

",
	"f",
	"alter procedure Destroy (tsPartitionDesc_t)
	with (Modify External Name = ""ts_partition_destroy"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	6, "Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure Destroy (tsPartitionDesc_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	6, "Destroy (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%", 0,
	"create procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int default 1)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_container)"" language c;

",
	"f",
	"drop procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_container)"");

",
	"f",
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
	with (Modify External Name = ""ts_make_container"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,int,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSContainerDestroy (lvarchar)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_destroy_container)"" language c;

",
	"f",
	"drop procedure TSContainerDestroy (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerDestroy (lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_destroy_container)"");

",
	"f",
	"alter procedure TSContainerDestroy (lvarchar)
	with (Modify External Name = ""ts_destroy_container"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%",
	6, "TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSContainerDestroy (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%",
	6, "TSContainerDestroy (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Assign (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Assign (TimeSeries)
returns TimeSeries
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_assign)"" language c;

",
	"f",
	"drop function Assign (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Assign (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 181, "Alter-ExternalName-Assign (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"alter function Assign (TimeSeries)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_assign)"");

",
	"f",
	"alter function Assign (TimeSeries)
	with (Modify External Name = ""timeseries_assign"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	181, "Alter-ExternalName-Assign (TimeSeries)",
	"%SYSBLDUSER%",
	5, "Assign (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Assign (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Assign (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Assign (TimeSeries)",
	"%SYSBLDUSER%",
	5, "Assign (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "Destroy (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create procedure Destroy (TimeSeries)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_destroy)"" language c;

",
	"f",
	"drop procedure Destroy (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	6, "Destroy (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-Destroy (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"alter procedure Destroy (TimeSeries)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_destroy)"");

",
	"f",
	"alter procedure Destroy (TimeSeries)
	with (Modify External Name = ""timeseries_destroy"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-Destroy (TimeSeries)",
	"%SYSBLDUSER%",
	6, "Destroy (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "Destroy (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure Destroy (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "Destroy (TimeSeries)",
	"%SYSBLDUSER%",
	6, "Destroy (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Update (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_update)"" language c;

",
	"f",
	"drop function Update (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"alter function Update (TimeSeries,TimeSeries)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(timeseries_update)"");

",
	"f",
	"alter function Update (TimeSeries,TimeSeries)
	with (Modify External Name = ""timeseries_update"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Update (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Update (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"create function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_meta_sql)"" language c;

",
	"f",
	"drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%", 0,
	"create function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_reg_set_meta_sql)"" language c;

",
	"f",
	"drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	5, "TSCreate (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_meta_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar,TimeSeriesMeta) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_set_meta_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,TimeSeriesMeta,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetMetaData (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetMetaData (TimeSeries)
returns TimeSeriesMeta with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_metadata_sql)"" language c;

",
	"f",
	"drop function GetMetaData (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetMetaData (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetMetaData (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetMetaData (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetMetaData (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetMetaData (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetMetaData (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"create function UpdMetaData (TimeSeries,TimeSeriesMeta)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_update_metadata_sql)"" language c;

",
	"f",
	"drop function UpdMetaData (TimeSeries,TimeSeriesMeta);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeriesMeta",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"grant execute on function UpdMetaData (TimeSeries,TimeSeriesMeta) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	5, "UpdMetaData (TimeSeries,TimeSeriesMeta)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetMetaTypeName (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetMetaTypeName (TimeSeries)
returns lvarchar with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_metadata_typename_sql)"" language c;

",
	"f",
	"drop function GetMetaTypeName (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetMetaTypeName (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetMetaTypeName (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetMetaTypeName (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetMetaTypeName (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetMetaTypeName (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetIndex (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"create function GetIndex (TimeSeries,datetime year to fraction(5))
returns int with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_index_sql)"" language c;

",
	"f",
	"drop function GetIndex (TimeSeries,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetIndex (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetIndex (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetIndex (TimeSeries,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetIndex (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	5, "GetIndex (TimeSeries,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetStamp (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetStamp (TimeSeries,integer)
returns datetime year to fraction(5) with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_time_sql)"" language c;

",
	"f",
	"drop function GetStamp (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetStamp (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetStamp (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetStamp (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetStamp (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "GetStamp (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetNelems (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetNelems (TimeSeries)
returns int with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_nelems_sql)"" language c;

",
	"f",
	"drop function GetNelems (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetNelems (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetNelems (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetNelems (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetNelems (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetNelems (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_sql)"" language c;

",
	"f",
	"drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSCreate (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"create function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_reg_set_sql)"" language c;

",
	"f",
	"drop function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreate (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%",
	5, "TSCreate (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_set_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),int,int,lvarchar,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,int,int,lvarchar,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "BulkLoad (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function BulkLoad (TimeSeries,lvarchar,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_bulk_load_sql)"" language c;

",
	"f",
	"drop function BulkLoad (TimeSeries,lvarchar,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_compress_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,multiset)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_compress_set_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_short_irr_compress_meta_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%", 0,
	"create function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta,multiset)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_irr_compress_set_meta_sql)"" language c;

",
	"f",
	"drop function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCreateIrr (lvarchar,datetime year to fraction(5),lvarchar,lvarchar,TimeSeriesMeta,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%",
	5, "TSCreateIrr (lvarchar,datetime,lvarchar,lvarchar,TimeSeriesMeta,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "BulkLoad (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "BulkLoad (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function BulkLoad (TimeSeries,lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "BulkLoad (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "BulkLoad (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function PutTimeSeries (TimeSeries,TimeSeries,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_ts_sql)"" language c;

",
	"f",
	"drop function PutTimeSeries (TimeSeries,TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PutTimeSeries (TimeSeries,TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "PutTimeSeries (TimeSeries,TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetOrigin (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetOrigin (TimeSeries)
returns datetime year to fraction(5) with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_origin_sql)"" language c;

",
	"f",
	"drop function GetOrigin (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetOrigin (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetOrigin (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetOrigin (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetOrigin (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetOrigin (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "SetOrigin (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"create function SetOrigin (TimeSeries,datetime year to fraction(5))
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_set_origin_sql)"" language c;

",
	"f",
	"drop function SetOrigin (TimeSeries,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "SetOrigin (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "SetOrigin (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function SetOrigin (TimeSeries,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "SetOrigin (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	5, "SetOrigin (TimeSeries,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetInterval (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetInterval (TimeSeries)
returns lvarchar with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_interval_sql)"" language c;

",
	"f",
	"drop function GetInterval (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetInterval (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetInterval (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetInterval (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetInterval (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetInterval (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetCalendar (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetCalendar (TimeSeries)
returns Calendar with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_calendar_sql)"" language c;

",
	"f",
	"drop function GetCalendar (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetCalendar (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetCalendar (TimeSeries)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetCalendar (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetCalendar (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetCalendar (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetCalendar (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetCalendarName (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetCalendarName (TimeSeries)
returns lvarchar with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_calendar_name_sql)"" language c;

",
	"f",
	"drop function GetCalendarName (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetCalendarName (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetCalendarName (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetCalendarName (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetCalendarName (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetCalendarName (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetContainerName (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetContainerName (TimeSeries)
returns lvarchar with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_container_name_sql)"" language c;

",
	"f",
	"drop function GetContainerName (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetContainerName (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetContainerName (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetContainerName (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetContainerName (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetContainerName (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PutNthElem (TimeSeries,row,int,integer)",
	"%SYSBLDUSER%", 0,
	"create function PutNthElem (TimeSeries,row,int,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_nth_elem_sql)"" language c;

",
	"f",
	"drop function PutNthElem (TimeSeries,row,int,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PutNthElem (TimeSeries,row,int,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PutNthElem (TimeSeries,row,int,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PutNthElem (TimeSeries,row,int,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PutNthElem (TimeSeries,row,int,integer)",
	"%SYSBLDUSER%",
	5, "PutNthElem (TimeSeries,row,int,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PutElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"create function PutElem (TimeSeries,row,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_sql)"" language c;

",
	"f",
	"drop function PutElem (TimeSeries,row,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PutElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PutElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PutElem (TimeSeries,row,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PutElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	5, "PutElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PutElemNoDups (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"create function PutElemNoDups (TimeSeries,row,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_no_dups_sql)"" language c;

",
	"f",
	"drop function PutElemNoDups (TimeSeries,row,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PutElemNoDups (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PutElemNoDups (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PutElemNoDups (TimeSeries,row,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PutElemNoDups (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	5, "PutElemNoDups (TimeSeries,row,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "VTIPut (TimeSeries,row,integer,integer)",
	"%SYSBLDUSER%", 0,
	"create function VTIPut (TimeSeries,row,integer default 0,integer)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vti_put_sql)"" language c;

",
	"f",
	"drop function VTIPut (TimeSeries,row,integer,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "VTIPut (TimeSeries,row,integer,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "VTIPut (TimeSeries,row,integer,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function VTIPut (TimeSeries,row,integer,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "VTIPut (TimeSeries,row,integer,integer)",
	"%SYSBLDUSER%",
	5, "VTIPut (TimeSeries,row,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PutSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%", 0,
	"create function PutSet (TimeSeries,multiset,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_set_sql)"" language c;

",
	"f",
	"drop function PutSet (TimeSeries,multiset,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PutSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PutSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PutSet (TimeSeries,multiset,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PutSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%",
	5, "PutSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "InsElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"create function InsElem (TimeSeries,row,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_ins_elem_sql)"" language c;

",
	"f",
	"drop function InsElem (TimeSeries,row,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "InsElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "InsElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function InsElem (TimeSeries,row,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "InsElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	5, "InsElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "InsSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%", 0,
	"create function InsSet (TimeSeries,multiset,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_ins_set_sql)"" language c;

",
	"f",
	"drop function InsSet (TimeSeries,multiset,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "InsSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "InsSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function InsSet (TimeSeries,multiset,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "InsSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%",
	5, "InsSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "UpdElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"create function UpdElem (TimeSeries,row,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upd_elem_sql)"" language c;

",
	"f",
	"drop function UpdElem (TimeSeries,row,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "UpdElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "UpdElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function UpdElem (TimeSeries,row,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "UpdElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%",
	5, "UpdElem (TimeSeries,row,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "UpdSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%", 0,
	"create function UpdSet (TimeSeries,multiset,integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upd_set_sql)"" language c;

",
	"f",
	"drop function UpdSet (TimeSeries,multiset,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "UpdSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "UpdSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function UpdSet (TimeSeries,multiset,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "UpdSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%",
	5, "UpdSet (TimeSeries,multiset,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "DelElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function DelElem (TimeSeries,datetime year to fraction(5),integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_elem_sql)"" language c;

",
	"f",
	"drop function DelElem (TimeSeries,datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "DelElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "DelElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function DelElem (TimeSeries,datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "DelElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	5, "DelElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
	"%SYSBLDUSER%", 0,
	"create function HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer default 0)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_elem_set_sql)"" language c;

",
	"f",
	"drop function HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
	"%SYSBLDUSER%",
	7, "datetime year to fraction(5)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
	"%SYSBLDUSER%",
	5, "HideElem (TimeSeries,multiset (datetime year to fraction(5) not null),integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "HideElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function HideElem (TimeSeries,datetime year to fraction(5),integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_elem_sql)"" language c;

",
	"f",
	"drop function HideElem (TimeSeries,datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "HideElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "HideElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function HideElem (TimeSeries,datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "HideElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	5, "HideElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "RevealElem (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"create function RevealElem (TimeSeries,datetime year to fraction(5))
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_elem_sql)"" language c;

",
	"f",
	"drop function RevealElem (TimeSeries,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "RevealElem (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "RevealElem (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function RevealElem (TimeSeries,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "RevealElem (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	5, "RevealElem (TimeSeries,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
	"%SYSBLDUSER%", 0,
	"create function RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_elem_set_sql)"" language c;

",
	"f",
	"drop function RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
	"%SYSBLDUSER%",
	7, "datetime year to fraction(5)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
	"%SYSBLDUSER%", 0,
	"grant execute on function RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
	"%SYSBLDUSER%",
	5, "RevealElem (TimeSeries,multiset (datetime year to fraction(5) not null))",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "DelClip (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function DelClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_clip_sql)"" language c;

",
	"f",
	"drop function DelClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "DelClip (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "DelClip (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function DelClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "DelClip (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	5, "DelClip (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetNthElem (TimeSeries,int,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetNthElem (TimeSeries,int,integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nth_elem_sql)"" language c;

",
	"f",
	"drop function GetNthElem (TimeSeries,int,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetNthElem (TimeSeries,int,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetNthElem (TimeSeries,int,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetNthElem (TimeSeries,int,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetNthElem (TimeSeries,int,integer)",
	"%SYSBLDUSER%",
	5, "GetNthElem (TimeSeries,int,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetElem (TimeSeries,datetime year to fraction(5),integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_elem_sql)"" language c;

",
	"f",
	"drop function GetElem (TimeSeries,datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetElem (TimeSeries,datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	5, "GetElem (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetLastValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetLastValid (TimeSeries,datetime year to fraction(5),integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_valid_row_sql)"" language c;

",
	"f",
	"drop function GetLastValid (TimeSeries,datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetLastValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetLastValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetLastValid (TimeSeries,datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetLastValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	5, "GetLastValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetNextValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetNextValid (TimeSeries,datetime year to fraction(5),integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_next_valid_row_sql)"" language c;

",
	"f",
	"drop function GetNextValid (TimeSeries,datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetNextValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetNextValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetNextValid (TimeSeries,datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetNextValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	5, "GetNextValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetPreviousValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetPreviousValid (TimeSeries,datetime year to fraction(5),integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_previous_valid_row_sql)"" language c;

",
	"f",
	"drop function GetPreviousValid (TimeSeries,datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetPreviousValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetPreviousValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetPreviousValid (TimeSeries,datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetPreviousValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%",
	5, "GetPreviousValid (TimeSeries,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetLastElem (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetLastElem (TimeSeries,integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_last_row_sql)"" language c;

",
	"f",
	"drop function GetLastElem (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetLastElem (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetLastElem (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetLastElem (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetLastElem (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "GetLastElem (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetFirstElem (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetFirstElem (TimeSeries,integer default 0)
returns row with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_first_row_sql)"" language c;

",
	"f",
	"drop function GetFirstElem (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetFirstElem (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetFirstElem (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetFirstElem (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetFirstElem (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "GetFirstElem (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5))
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_times_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_times_flags_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,datetime year to fraction(5),int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_time_offs_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,datetime,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,datetime,int)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,int,datetime)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,int,datetime year to fraction(5))
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_offs_time_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,int,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,int,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,int,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,int,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,int,datetime)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,int,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,datetime year to fraction(5),int,int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_time_offs_flags_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,datetime year to fraction(5),int,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,datetime year to fraction(5),int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,int,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,int,datetime year to fraction(5),int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_offs_time_flags_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,int,datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,int,datetime,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,int,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,int,datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,int,datetime,int)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,int,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,int,int)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,int,int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,int,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,int,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,int,int)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Clip (TimeSeries,int,int,int)",
	"%SYSBLDUSER%", 0,
	"create function Clip (TimeSeries,int,int,int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_flags_sql)"" language c;

",
	"f",
	"drop function Clip (TimeSeries,int,int,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Clip (TimeSeries,int,int,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Clip (TimeSeries,int,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Clip (TimeSeries,int,int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Clip (TimeSeries,int,int,int)",
	"%SYSBLDUSER%",
	5, "Clip (TimeSeries,int,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ClipCount (TimeSeries,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function ClipCount (TimeSeries,datetime year to fraction(5),int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_count_sql)"" language c;

",
	"f",
	"drop function ClipCount (TimeSeries,datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ClipCount (TimeSeries,datetime,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ClipCount (TimeSeries,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ClipCount (TimeSeries,datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ClipCount (TimeSeries,datetime,int)",
	"%SYSBLDUSER%",
	5, "ClipCount (TimeSeries,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ClipCount (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%", 0,
	"create function ClipCount (TimeSeries,datetime year to fraction(5),int,int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_count_flags_sql)"" language c;

",
	"f",
	"drop function ClipCount (TimeSeries,datetime year to fraction(5),int,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ClipCount (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ClipCount (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ClipCount (TimeSeries,datetime year to fraction(5),int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ClipCount (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%",
	5, "ClipCount (TimeSeries,datetime,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function ClipGetCount (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,integer default 0)
returns int with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_count_clip_sql)"" language c;

",
	"f",
	"drop function ClipGetCount (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ClipGetCount (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	5, "ClipGetCount (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Lag (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function Lag (TimeSeries,int)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_lag_sql)"" language c;

",
	"f",
	"drop function Lag (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Lag (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Lag (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Lag (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Lag (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "Lag (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function WithinC (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_within_c_sql)"" language c;

",
	"f",
	"drop function WithinC (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function WithinC (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	5, "WithinC (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function WithinR (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_within_r_sql)"" language c;

",
	"f",
	"drop function WithinR (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function WithinR (TimeSeries,datetime year to fraction(5),lvarchar,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	5, "WithinR (TimeSeries,datetime,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_2_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_3_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_4_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_5_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_6_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_7_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_8_sql)"" language c;

",
	"f",
	"drop function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (multiset)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_set_sql)"" language c;

",
	"f",
	"drop function Intersect (multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (multiset)",
	"%SYSBLDUSER%",
	5, "Intersect (multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_2_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_3_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_4_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_5_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_6_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_7_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_8_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Intersect (datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"create function Intersect (datetime year to fraction(5),datetime year to fraction(5),multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intersect_clip_set_sql)"" language c;

",
	"f",
	"drop function Intersect (datetime year to fraction(5),datetime year to fraction(5),multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Intersect (datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Intersect (datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Intersect (datetime year to fraction(5),datetime year to fraction(5),multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Intersect (datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	5, "Intersect (datetime,datetime,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_2_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_3_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_4_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_5_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_6_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_7_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_8_sql)"" language c;

",
	"f",
	"drop function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (multiset)",
	"%SYSBLDUSER%", 0,
	"create function Union (multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_set_sql)"" language c;

",
	"f",
	"drop function Union (multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (multiset)",
	"%SYSBLDUSER%",
	5, "Union (multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_2_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_3_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_4_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_5_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_6_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_7_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_8_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Union (datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"create function Union (datetime year to fraction(5),datetime year to fraction(5),multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_union_clip_set_sql)"" language c;

",
	"f",
	"drop function Union (datetime year to fraction(5),datetime year to fraction(5),multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Union (datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Union (datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Union (datetime year to fraction(5),datetime year to fraction(5),multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Union (datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	5, "Union (datetime,datetime,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "IsRegular (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function IsRegular (TimeSeries)
returns boolean with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_is_regular_sql)"" language c;

",
	"f",
	"drop function IsRegular (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "IsRegular (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "IsRegular (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function IsRegular (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "IsRegular (TimeSeries)",
	"%SYSBLDUSER%",
	5, "IsRegular (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_1_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_2_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_3_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_4_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_5_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_6_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_7_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_8_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_clip_set_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_1_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_2_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_3_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_4_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_5_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_6_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_7_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_8_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_clip_set_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5),multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,datetime,datetime,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_1_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_2_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_3_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_4_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_5_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_6_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_7_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_8_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_set_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,multiset)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_1_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls) 
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_2_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_3_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_4_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_5_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_6_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_7_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_8_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Apply (lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"create function Apply (lvarchar,lvarchar,multiset)
returns TimeSeries with (notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_applywf_set_sql)"" language c;

",
	"f",
	"drop function Apply (lvarchar,lvarchar,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Apply (lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Apply (lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Apply (lvarchar,lvarchar,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Apply (lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%",
	5, "Apply (lvarchar,lvarchar,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "SetContainerName (TimeSeries,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function SetContainerName (TimeSeries,lvarchar)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_set_container_sql)"" language c;

",
	"f",
	"drop function SetContainerName (TimeSeries,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "SetContainerName (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "SetContainerName (TimeSeries,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function SetContainerName (TimeSeries,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "SetContainerName (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	5, "SetContainerName (TimeSeries,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningAvg (real,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningAvg (real,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_avg_sql)"" language c;

",
	"f",
	"drop function TSRunningAvg (real,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningAvg (real,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningAvg (real,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningAvg (real,int)",
	"%SYSBLDUSER%",
	5, "TSRunningAvg (real,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningAvg (double precision,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningAvg (double precision,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_avg_double_sql)"" language c;

",
	"f",
	"drop function TSRunningAvg (double precision,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningAvg (double precision,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningAvg (double precision,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningAvg (double precision,int)",
	"%SYSBLDUSER%",
	5, "TSRunningAvg (double precision,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningSum (real,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningSum (real,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_sum_sql)"" language c;

",
	"f",
	"drop function TSRunningSum (real,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningSum (real,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningSum (real,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningSum (real,int)",
	"%SYSBLDUSER%",
	5, "TSRunningSum (real,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningSum (double precision,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningSum (double precision,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_sum_double_sql)"" language c;

",
	"f",
	"drop function TSRunningSum (double precision,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningSum (double precision,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningSum (double precision,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningSum (double precision,int)",
	"%SYSBLDUSER%",
	5, "TSRunningSum (double precision,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSPrevious (int)",
	"%SYSBLDUSER%", 0,
	"create function TSPrevious (int)
returns int with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(previous_int_sql)"" language c;

",
	"f",
	"drop function TSPrevious (int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSPrevious (int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSPrevious (int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSPrevious (int)",
	"%SYSBLDUSER%",
	5, "TSPrevious (int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSPrevious (real)",
	"%SYSBLDUSER%", 0,
	"create function TSPrevious (real)
returns real with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(previous_float_sql)"" language c;

",
	"f",
	"drop function TSPrevious (real);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSPrevious (real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSPrevious (real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSPrevious (real)",
	"%SYSBLDUSER%",
	5, "TSPrevious (real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSPrevious (double precision)",
	"%SYSBLDUSER%", 0,
	"create function TSPrevious (double precision)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(previous_double_sql)"" language c;

",
	"f",
	"drop function TSPrevious (double precision);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSPrevious (double precision)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSPrevious (double precision) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSPrevious (double precision)",
	"%SYSBLDUSER%",
	5, "TSPrevious (double precision)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSAddPrevious (real)",
	"%SYSBLDUSER%", 0,
	"create function TSAddPrevious (real)
returns real with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(add_previous_float_sql)"" language c;

",
	"f",
	"drop function TSAddPrevious (real);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSAddPrevious (real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSAddPrevious (real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSAddPrevious (real)",
	"%SYSBLDUSER%",
	5, "TSAddPrevious (real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSAddPrevious (double precision)",
	"%SYSBLDUSER%", 0,
	"create function TSAddPrevious (double precision)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(add_previous_double_sql)"" language c;

",
	"f",
	"drop function TSAddPrevious (double precision);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSAddPrevious (double precision)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSAddPrevious (double precision) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSAddPrevious (double precision)",
	"%SYSBLDUSER%",
	5, "TSAddPrevious (double precision)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSDecay (real,real,real)",
	"%SYSBLDUSER%", 0,
	"create function TSDecay (real,real,real)
returns real
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(decay_float_sql)"" language c;

",
	"f",
	"drop function TSDecay (real,real,real);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSDecay (real,real,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSDecay (real,real,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSDecay (real,real,real)",
	"%SYSBLDUSER%",
	5, "TSDecay (real,real,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSDecay (double precision,double precision,double precision)",
	"%SYSBLDUSER%", 0,
	"create function TSDecay (double precision,double precision,double precision)
returns double precision
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(decay_double_sql)"" language c;

",
	"f",
	"drop function TSDecay (double precision,double precision,double precision);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSDecay (double precision,double precision,double precision)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSDecay (double precision,double precision,double precision) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSDecay (double precision,double precision,double precision)",
	"%SYSBLDUSER%",
	5, "TSDecay (double precision,double precision,double precision)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCmp (real,real)",
	"%SYSBLDUSER%", 0,
	"create function TSCmp (real,real)
returns int with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(Cmp_sql)"" language c;

",
	"f",
	"drop function TSCmp (real,real);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCmp (real,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCmp (real,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCmp (real,real)",
	"%SYSBLDUSER%",
	5, "TSCmp (real,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCmp (double precision,double precision)",
	"%SYSBLDUSER%", 0,
	"create function TSCmp (double precision,double precision)
returns int with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(Cmp_double_sql)"" language c;

",
	"f",
	"drop function TSCmp (double precision,double precision);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCmp (double precision,double precision)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCmp (double precision,double precision) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCmp (double precision,double precision)",
	"%SYSBLDUSER%",
	5, "TSCmp (double precision,double precision)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSMakeNullStamp ()",
	"%SYSBLDUSER%", 0,
	"create function TSMakeNullStamp ()
returns datetime year to fraction(5)
return NULL;

end function;

",
	"f",
	"drop function TSMakeNullStamp ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSMakeNullStamp ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSMakeNullStamp () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSMakeNullStamp ()",
	"%SYSBLDUSER%",
	5, "TSMakeNullStamp ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyCalendar (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function ApplyCalendar (TimeSeries,lvarchar,integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_restrict_sql)"" language c;

",
	"f",
	"drop function ApplyCalendar (TimeSeries,lvarchar,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyCalendar (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyCalendar (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyCalendar (TimeSeries,lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyCalendar (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "ApplyCalendar (TimeSeries,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Transpose (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function Transpose (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,int default 0)
returns row with (not variant, iterator, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_transpose_flags_sql)"" language c;

",
	"f",
	"drop function Transpose (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Transpose (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Transpose (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Transpose (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Transpose (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%",
	5, "Transpose (TimeSeries,datetime,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function AggregateBy (lvarchar,lvarchar,TimeSeries,integer default 0,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_aggregate_by_sql)"" language c;

",
	"f",
	"drop function AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "AggregateBy (lvarchar,lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesBSAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesBSAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_begin_scan_api)"" language c;

",
	"f",
	"drop function TimeSeriesBSAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesBSAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesBSAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesBSAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesBSAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesNextAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesNextAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_next_api)"" language c;

",
	"f",
	"drop function TimeSeriesNextAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesNextAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesNextAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesNextAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesNextAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCOAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCOAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_current_offset_api)"" language c;

",
	"f",
	"drop function TimeSeriesCOAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCOAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCOAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCOAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCOAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCSAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCSAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_current_timestamp_api)"" language c;

",
	"f",
	"drop function TimeSeriesCSAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCSAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCSAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCSAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCSAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGCBNAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGCBNAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_col_by_name_api)"" language c;

",
	"f",
	"drop function TimeSeriesGCBNAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGCBNAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGCBNAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGCBNAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGCBNAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGCBNMAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGCBNMAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_col_by_number_api)"" language c;

",
	"f",
	"drop function TimeSeriesGCBNMAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGCBNMAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGCBNMAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGCBNMAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGCBNMAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesESAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesESAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_end_scan_api)"" language c;

",
	"f",
	"drop function TimeSeriesESAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesESAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesESAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesESAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesESAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesMakeAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesMakeAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_api)"" language c;

",
	"f",
	"drop function TimeSeriesMakeAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesMakeAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesMakeAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesMakeAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesMakeAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSUpdMetaAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TSUpdMetaAPI ()
returns pointer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_update_metadata_api)"" language c;

",
	"f",
	"drop function TSUpdMetaAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSUpdMetaAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSUpdMetaAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSUpdMetaAPI ()",
	"%SYSBLDUSER%",
	5, "TSUpdMetaAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSGetMetaAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TSGetMetaAPI ()
returns pointer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_metadata_api)"" language c;

",
	"f",
	"drop function TSGetMetaAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSGetMetaAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSGetMetaAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSGetMetaAPI ()",
	"%SYSBLDUSER%",
	5, "TSGetMetaAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPutLEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPutLEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_last_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesPutLEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPutLEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPutLEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPutLEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPutLEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPNEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPNEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_nth_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesPNEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPNEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPNEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPNEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPNEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesPEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPENDAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPENDAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_elem_no_dups_api)"" language c;

",
	"f",
	"drop function TimeSeriesPENDAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPENDAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPENDAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPENDAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPENDAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesIEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesIEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_ins_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesIEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesIEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesIEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesIEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesIEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesUEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesUEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_upd_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesUEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesUEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesUEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesUEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesUEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesDELAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesDELAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesDELAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesDELAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesDELAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesDELAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesDELAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGNEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGNEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_nth_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesGNEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGNEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGNEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGNEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGNEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGLEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGLEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesGLEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGLEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGLEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGLEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGLEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesGEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGFEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGFEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_first_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesGFEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGFEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGFEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGFEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGFEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesNVAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesNVAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_next_valid_api)"" language c;

",
	"f",
	"drop function TimeSeriesNVAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesNVAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesNVAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesNVAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesNVAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPVAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPVAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_previous_valid_api)"" language c;

",
	"f",
	"drop function TimeSeriesPVAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPVAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPVAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPVAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPVAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesLVAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesLVAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_last_valid_api)"" language c;

",
	"f",
	"drop function TimeSeriesLVAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesLVAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesLVAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesLVAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesLVAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGIAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGIAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_index_api)"" language c;

",
	"f",
	"drop function TimeSeriesGIAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGIAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGIAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGIAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGIAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesHEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesHEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesHEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesHEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesHEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesHEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesHEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesDEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesDEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_deform_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesDEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesDEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesDEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesDEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesDEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesMEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesMEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesMEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesMEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesMEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesMEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesMEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesMEBAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesMEBAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_elem_rowdesc_api)"" language c;

",
	"f",
	"drop function TimeSeriesMEBAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesMEBAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesMEBAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesMEBAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesMEBAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGNMAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGNMAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nelems_api)"" language c;

",
	"f",
	"drop function TimeSeriesGNMAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGNMAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGNMAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGNMAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGNMAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesOpenAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesOpenAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_open_internal)"" language c;

",
	"f",
	"drop function TimeSeriesOpenAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesOpenAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesOpenAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesOpenAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesOpenAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCloseAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCloseAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_close_internal)"" language c;

",
	"f",
	"drop function TimeSeriesCloseAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCloseAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCloseAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCloseAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCloseAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCPAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCPAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_copy_api)"" language c;

",
	"f",
	"drop function TimeSeriesCPAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCPAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCPAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCPAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCPAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesTPTAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesTPTAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_put_tsdesc_api)"" language c;

",
	"f",
	"drop function TimeSeriesTPTAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesTPTAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesTPTAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesTPTAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesTPTAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesFreeAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesFreeAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_free_api)"" language c;

",
	"f",
	"drop function TimeSeriesFreeAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesFreeAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesFreeAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesFreeAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesFreeAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesFrElAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesFrElAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_free_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesFrElAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesFrElAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesFrElAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesFrElAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesFrElAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesColIdAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesColIdAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_col_id_api)"" language c;

",
	"f",
	"drop function TimeSeriesColIdAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesColIdAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesColIdAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesColIdAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesColIdAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCNameAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCNameAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_calname_api)"" language c;

",
	"f",
	"drop function TimeSeriesCNameAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCNameAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCNameAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCNameAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCNameAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGCNAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGCNAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_container_name_api)"" language c;

",
	"f",
	"drop function TimeSeriesGCNAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGCNAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGCNAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGCNAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGCNAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesClStAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesClStAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_stamp_api)"" language c;

",
	"f",
	"drop function TimeSeriesClStAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesClStAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesClStAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesClStAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesClStAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesClNdxAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesClNdxAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_index_api)"" language c;

",
	"f",
	"drop function TimeSeriesClNdxAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesClNdxAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesClNdxAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesClNdxAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesClNdxAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesClRngAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesClRngAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_api)"" language c;

",
	"f",
	"drop function TimeSeriesClRngAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesClRngAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesClRngAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesClRngAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesClRngAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesClRgNAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesClRgNAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_range_num_api)"" language c;

",
	"f",
	"drop function TimeSeriesClRgNAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesClRgNAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesClRgNAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesClRgNAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesClRgNAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMRAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMRAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_read_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMRAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMRAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMRAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMRAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMRAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesREAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesREAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesREAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesREAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesREAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesREAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesREAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriestCmpAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriestCmpAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_timestamp_cmp)"" language c;

",
	"f",
	"drop function TimeSeriestCmpAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriestCmpAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriestCmpAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriestCmpAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriestCmpAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesRTEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesRTEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_row_to_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesRTEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesRTEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesRTEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesRTEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesRTEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesETRAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesETRAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_elem_to_row_api)"" language c;

",
	"f",
	"drop function TimeSeriesETRAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesETRAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesETRAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesETRAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesETRAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesMEWBAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesMEWBAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_make_elem_with_buf_api)"" language c;

",
	"f",
	"drop function TimeSeriesMEWBAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesMEWBAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesMEWBAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesMEWBAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesMEWBAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCVerAPI (int)",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCVerAPI (int)
returns int with (not variant, internal)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_check_interface_version_api)"" language c;

",
	"f",
	"drop function TimeSeriesCVerAPI (int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCVerAPI (int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCVerAPI (int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCVerAPI (int)",
	"%SYSBLDUSER%",
	5, "TimeSeriesCVerAPI (int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function plus (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "plus (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "plus (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function plus (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_plus)"" language c;

",
	"f",
	"drop function plus (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "plus (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "plus (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function plus (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "plus (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "plus (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function minus (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "minus (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "minus (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function minus (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_minus)"" language c;

",
	"f",
	"drop function minus (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "minus (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "minus (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function minus (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "minus (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "minus (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	165, "Alter-TemplateArg-times (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function times (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "times (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "times (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function times (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_times)"" language c;

",
	"f",
	"drop function times (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "times (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "times (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function times (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "times (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "times (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function mod (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "mod (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "mod (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function mod (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_mod)"" language c;

",
	"f",
	"drop function mod (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "mod (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "mod (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function mod (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "mod (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "mod (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function divide (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "divide (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "divide (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function divide (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_divide)"" language c;

",
	"f",
	"drop function divide (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "divide (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "divide (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function divide (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "divide (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "divide (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function pow (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "pow (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "pow (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function pow (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_pow)"" language c;

",
	"f",
	"drop function pow (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "pow (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "pow (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function pow (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "pow (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "pow (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function root (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "root (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "root (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function root (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_root)"" language c;

",
	"f",
	"drop function root (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "root (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "root (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function root (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "root (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "root (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan2 (row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan2 (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function atan2 (TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_atan2)"" language c;

",
	"f",
	"drop function atan2 (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan2 (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan2 (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan2 (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan2 (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "atan2 (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "negate (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function negate (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_negate)"" language c;

",
	"f",
	"drop function negate (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "negate (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "negate (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function negate (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "negate (TimeSeries)",
	"%SYSBLDUSER%",
	5, "negate (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "positive (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function positive (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_positive)"" language c;

",
	"f",
	"drop function positive (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "positive (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "positive (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function positive (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "positive (TimeSeries)",
	"%SYSBLDUSER%",
	5, "positive (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "abs (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function abs (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_abs)"" language c;

",
	"f",
	"drop function abs (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "abs (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "abs (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function abs (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "abs (TimeSeries)",
	"%SYSBLDUSER%",
	5, "abs (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "sqrt (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function sqrt (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_sqrt)"" language c;

",
	"f",
	"drop function sqrt (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "sqrt (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "sqrt (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function sqrt (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "sqrt (TimeSeries)",
	"%SYSBLDUSER%",
	5, "sqrt (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "exp (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function exp (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_exp)"" language c;

",
	"f",
	"drop function exp (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "exp (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "exp (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function exp (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "exp (TimeSeries)",
	"%SYSBLDUSER%",
	5, "exp (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "logn (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function logn (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_logn)"" language c;

",
	"f",
	"drop function logn (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "logn (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "logn (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function logn (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "logn (TimeSeries)",
	"%SYSBLDUSER%",
	5, "logn (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "log10 (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function log10 (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_log10)"" language c;

",
	"f",
	"drop function log10 (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "log10 (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "log10 (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function log10 (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "log10 (TimeSeries)",
	"%SYSBLDUSER%",
	5, "log10 (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "cos (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function cos (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_cos)"" language c;

",
	"f",
	"drop function cos (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "cos (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "cos (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function cos (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "cos (TimeSeries)",
	"%SYSBLDUSER%",
	5, "cos (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "sin (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function sin (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_sin)"" language c;

",
	"f",
	"drop function sin (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "sin (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "sin (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function sin (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "sin (TimeSeries)",
	"%SYSBLDUSER%",
	5, "sin (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "tan (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function tan (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_tan)"" language c;

",
	"f",
	"drop function tan (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "tan (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "tan (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function tan (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "tan (TimeSeries)",
	"%SYSBLDUSER%",
	5, "tan (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "asin (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function asin (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_asin)"" language c;

",
	"f",
	"drop function asin (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "asin (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "asin (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function asin (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "asin (TimeSeries)",
	"%SYSBLDUSER%",
	5, "asin (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "acos (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function acos (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_acos)"" language c;

",
	"f",
	"drop function acos (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "acos (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "acos (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function acos (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "acos (TimeSeries)",
	"%SYSBLDUSER%",
	5, "acos (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "atan (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function atan (TimeSeries)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_1op_atan)"" language c;

",
	"f",
	"drop function atan (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "atan (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "atan (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function atan (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "atan (TimeSeries)",
	"%SYSBLDUSER%",
	5, "atan (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,decimal,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,decimal,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,decimal,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,decimal);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,decimal) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,decimal)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,float,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,float,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,float,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,float,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,float)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,float);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,float) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,float)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,int,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,int,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,int,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,int,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,int)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,money,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,money,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,money,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,money,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,money)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,money);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,money) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,money)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,real,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,real,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,real,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,real,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,real)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,real);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,real) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,real)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,smallint,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,smallint,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,smallint,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,int8,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,int8,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,int8,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,int8,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,int8)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,int8);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,int8) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,int8)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,row,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,row,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,row,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,row,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function ApplyBinaryTsOp (lvarchar,TimeSeries,row)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_binary_operation)"" language c;

",
	"f",
	"drop function ApplyBinaryTsOp (lvarchar,TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyBinaryTsOp (lvarchar,TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "ApplyBinaryTsOp (lvarchar,TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ApplyUnaryTsOp (lvarchar,TimeSeries)
returns TimeSeries with (not variant, notemplatearg, handlesnulls, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_do_named_unary_operation)"" language c;

",
	"f",
	"drop function ApplyUnaryTsOp (lvarchar,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyUnaryTsOp (lvarchar,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ApplyUnaryTsOp (lvarchar,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ApplyOpToTsSet (lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"create function ApplyOpToTsSet (lvarchar,multiset)
returns TimeSeries with (not variant, notemplatearg, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_apply_op_to_set)"" language c;

",
	"f",
	"drop function ApplyOpToTsSet (lvarchar,multiset);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ApplyOpToTsSet (lvarchar,multiset)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ApplyOpToTsSet (lvarchar,multiset)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ApplyOpToTsSet (lvarchar,multiset) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ApplyOpToTsSet (lvarchar,multiset)",
	"%SYSBLDUSER%",
	5, "ApplyOpToTsSet (lvarchar,multiset)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "round (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function round (TimeSeries,int default 0)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_round)"" language c;

",
	"f",
	"drop function round (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "round (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "round (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function round (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "round (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "round (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "trunc (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"create function trunc (TimeSeries,int default 0)
returns TimeSeries with (not variant, notemplatearg, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_2op_trunc)"" language c;

",
	"f",
	"drop function trunc (TimeSeries,int);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "trunc (TimeSeries,int)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "trunc (TimeSeries,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function trunc (TimeSeries,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "trunc (TimeSeries,int)",
	"%SYSBLDUSER%",
	5, "trunc (TimeSeries,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSSetTraceLevel (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSSetTraceLevel (lvarchar)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_tracelevel_set)"" language c;

",
	"f",
	"drop function TSSetTraceLevel (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSSetTraceLevel (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSSetTraceLevel (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSSetTraceLevel (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSSetTraceLevel (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSSetTraceFile (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSSetTraceFile (lvarchar)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_tracefile_set)"" language c;

",
	"f",
	"drop function TSSetTraceFile (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSSetTraceFile (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSSetTraceFile (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSSetTraceFile (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSSetTraceFile (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalStartDate (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function CalStartDate (lvarchar)
returns datetime year to fraction(5) with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_startdate_sql)"" language c;

",
	"f",
	"drop function CalStartDate (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalStartDate (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalStartDate (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalStartDate (lvarchar)",
	"%SYSBLDUSER%",
	5, "CalStartDate (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalPattStartDate (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function CalPattStartDate (lvarchar)
returns datetime year to fraction(5) with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattstartdate_sql)"" language c;

",
	"f",
	"drop function CalPattStartDate (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalPattStartDate (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalPattStartDate (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalPattStartDate (lvarchar)",
	"%SYSBLDUSER%",
	5, "CalPattStartDate (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesSDAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesSDAPI ()
returns datetime year to fraction(5) with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_startdate_api)"" language c;

",
	"f",
	"drop function TimeSeriesSDAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesSDAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesSDAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesSDAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesSDAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPSDAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPSDAPI ()
returns datetime year to fraction(5) with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_pattstartdate_api)"" language c;

",
	"f",
	"drop function TimeSeriesPSDAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPSDAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPSDAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPSDAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPSDAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetThreshold (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetThreshold (TimeSeries)
returns int with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_threshold_sql)"" language c;

",
	"f",
	"drop function GetThreshold (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetThreshold (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetThreshold (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetThreshold (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetThreshold (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetThreshold (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetHertz (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetHertz (TimeSeries)
returns int with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_hertz_sql)"" language c;

",
	"f",
	"drop function GetHertz (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetHertz (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetHertz (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetHertz (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetHertz (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetHertz (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetPacked (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetPacked (TimeSeries)
returns int with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_packed_sql)"" language c;

",
	"f",
	"drop function GetPacked (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetPacked (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetPacked (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetPacked (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetPacked (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetPacked (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetCompression (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetCompression (TimeSeries)
returns lvarchar with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_compression_sql)"" language c;

",
	"f",
	"drop function GetCompression (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetCompression (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetCompression (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetCompression (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetCompression (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetCompression (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int default NULL,lvarchar default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vt_nts)"" language c;

",
	"f",
	"drop procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vt_nts)"");

",
	"f",
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
	with (Modify External Name = ""ts_create_vt_nts"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,int,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningVar (double precision,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningVar (double precision,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_var_double_sql)"" language c;

",
	"f",
	"drop function TSRunningVar (double precision,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningVar (double precision,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningVar (double precision,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningVar (double precision,int)",
	"%SYSBLDUSER%",
	5, "TSRunningVar (double precision,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningVar (real,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningVar (real,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_var_single_sql)"" language c;

",
	"f",
	"drop function TSRunningVar (real,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningVar (real,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningVar (real,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningVar (real,int)",
	"%SYSBLDUSER%",
	5, "TSRunningVar (real,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningMed (double precision,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningMed (double precision,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_median_double_sql)"" language c;

",
	"f",
	"drop function TSRunningMed (double precision,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningMed (double precision,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningMed (double precision,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningMed (double precision,int)",
	"%SYSBLDUSER%",
	5, "TSRunningMed (double precision,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningMed (real,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningMed (real,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_median_single_sql)"" language c;

",
	"f",
	"drop function TSRunningMed (real,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningMed (real,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningMed (real,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningMed (real,int)",
	"%SYSBLDUSER%",
	5, "TSRunningMed (real,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningCor (double precision,double precision,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningCor (double precision,double precision,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_correlation_double_sql)"" language c;

",
	"f",
	"drop function TSRunningCor (double precision,double precision,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningCor (double precision,double precision,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningCor (double precision,double precision,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningCor (double precision,double precision,int)",
	"%SYSBLDUSER%",
	5, "TSRunningCor (double precision,double precision,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRunningCor (real,real,int)",
	"%SYSBLDUSER%", 0,
	"create function TSRunningCor (real,real,int)
returns double precision with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_running_correlation_single_sql)"" language c;

",
	"f",
	"drop function TSRunningCor (real,real,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRunningCor (real,real,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRunningCor (real,real,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRunningCor (real,real,int)",
	"%SYSBLDUSER%",
	5, "TSRunningCor (real,real,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesRelease ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesRelease ()
returns lvarchar with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(TSRelease)"" language c;

",
	"f",
	"drop function TimeSeriesRelease ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesRelease ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesRelease () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesRelease ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesRelease ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "DelTrim (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function DelTrim (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_trim_sql)"" language c;

",
	"f",
	"drop function DelTrim (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "DelTrim (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "DelTrim (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function DelTrim (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "DelTrim (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	5, "DelTrim (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetLastNonNull (TimeSeries,datetime year to fraction(5),lvarchar default NULL,integer default 0)
returns row with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_non_null_sql)"" language c;

",
	"f",
	"drop function GetLastNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetLastNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "GetLastNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGNNAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGNNAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_non_null_api)"" language c;

",
	"f",
	"drop function TimeSeriesGNNAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGNNAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGNNAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGNNAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGNNAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetNextNonNull (TimeSeries,datetime year to fraction(5),lvarchar default null,integer default 0)
returns row with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_next_non_null_sql)"" language c;

",
	"f",
	"drop function GetNextNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetNextNonNull (TimeSeries,datetime year to fraction(5),lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "GetNextNonNull (TimeSeries,datetime,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ElemIsHidden (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"create function ElemIsHidden (TimeSeries,datetime year to fraction(5))
returns boolean with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_is_hidden_sql)"" language c;

",
	"f",
	"drop function ElemIsHidden (TimeSeries,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ElemIsHidden (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ElemIsHidden (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ElemIsHidden (TimeSeries,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ElemIsHidden (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	5, "ElemIsHidden (TimeSeries,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ElemIsHidden (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function ElemIsHidden (TimeSeries,integer)
returns boolean with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nth_is_hidden_sql)"" language c;

",
	"f",
	"drop function ElemIsHidden (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ElemIsHidden (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ElemIsHidden (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ElemIsHidden (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ElemIsHidden (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "ElemIsHidden (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesPLUSAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesPLUSAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_timestamp_plus)"" language c;

",
	"f",
	"drop function TimeSeriesPLUSAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesPLUSAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesPLUSAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesPLUSAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesPLUSAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesMINAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesMINAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_timestamp_minus)"" language c;

",
	"f",
	"drop function TimeSeriesMINAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesMINAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesMINAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesMINAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesMINAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesDIFFAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesDIFFAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_timestamp_difference)"" language c;

",
	"f",
	"drop function TimeSeriesDIFFAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesDIFFAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesDIFFAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesDIFFAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesDIFFAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_closest_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesCEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetClosestElem (TimeSeries,datetime year to fraction(5),lvarchar,lvarchar default null,integer default 0)
returns row with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_closest_row_sql)"" language c;

",
	"f",
	"drop function GetClosestElem (TimeSeries,datetime year to fraction(5),lvarchar,lvarchar,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetClosestElem (TimeSeries,datetime year to fraction(5),lvarchar,lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "GetClosestElem (TimeSeries,datetime,lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "HideRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function HideRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_hide_range_sql)"" language c;

",
	"f",
	"drop function HideRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "HideRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "HideRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function HideRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "HideRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	5, "HideRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "RevealRange (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function RevealRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5))
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_unhide_range_sql)"" language c;

",
	"f",
	"drop function RevealRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "RevealRange (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "RevealRange (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function RevealRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "RevealRange (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "RevealRange (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "FindHidden (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function FindHidden (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
returns multiset with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_find_hidden_sql)"" language c;

",
	"f",
	"drop function FindHidden (TimeSeries,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "FindHidden (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "FindHidden (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function FindHidden (TimeSeries,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "FindHidden (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "FindHidden (TimeSeries,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function AggregateRange (lvarchar,TimeSeries,integer default 0,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
returns row with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_aggregate_by_range_sql)"" language c;

",
	"f",
	"drop function AggregateRange (lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function AggregateRange (lvarchar,TimeSeries,integer,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "AggregateRange (lvarchar,TimeSeries,integer,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function Transpose (lvarchar,row,datetime year to fraction(5) default null,datetime year to fraction(5) default null,lvarchar default null,integer default 0)
returns row with (not variant, iterator, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_transpose_query_sql)"" language c;

",
	"f",
	"drop function Transpose (lvarchar,row,datetime year to fraction(5),datetime year to fraction(5),lvarchar,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Transpose (lvarchar,row,datetime year to fraction(5),datetime year to fraction(5),lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "Transpose (lvarchar,row,datetime,datetime,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "tsJavaDelete (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"create function tsJavaDelete (TimeSeries,datetime year to fraction(5))
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_delete_java)"" language c;

",
	"f",
	"drop function tsJavaDelete (TimeSeries,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "tsJavaDelete (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "tsJavaDelete (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function tsJavaDelete (TimeSeries,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "tsJavaDelete (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	5, "tsJavaDelete (TimeSeries,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "tsJavaUpdate (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function tsJavaUpdate (TimeSeries,row)
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_update_java)"" language c;

",
	"f",
	"drop function tsJavaUpdate (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "tsJavaUpdate (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "tsJavaUpdate (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function tsJavaUpdate (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "tsJavaUpdate (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "tsJavaUpdate (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "tsJavaInsert (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"create function tsJavaInsert (TimeSeries,row)
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_insert_java)"" language c;

",
	"f",
	"drop function tsJavaInsert (TimeSeries,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "tsJavaInsert (TimeSeries,row)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "tsJavaInsert (TimeSeries,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function tsJavaInsert (TimeSeries,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "tsJavaInsert (TimeSeries,row)",
	"%SYSBLDUSER%",
	5, "tsJavaInsert (TimeSeries,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ElemIsNull (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"create function ElemIsNull (TimeSeries,datetime year to fraction(5))
returns boolean with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_is_null_sql)"" language c;

",
	"f",
	"drop function ElemIsNull (TimeSeries,datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ElemIsNull (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ElemIsNull (TimeSeries,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ElemIsNull (TimeSeries,datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ElemIsNull (TimeSeries,datetime)",
	"%SYSBLDUSER%",
	5, "ElemIsNull (TimeSeries,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ElemIsNull (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function ElemIsNull (TimeSeries,integer)
returns boolean with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_nth_is_null_sql)"" language c;

",
	"f",
	"drop function ElemIsNull (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ElemIsNull (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ElemIsNull (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ElemIsNull (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ElemIsNull (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "ElemIsNull (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMCIAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMCIAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_change_inst_id_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMCIAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMCIAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMCIAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMCIAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMCIAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMCYNAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMCYNAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_intern_get_col)"" language c;

",
	"f",
	"drop function TimeSeriesAMCYNAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMCYNAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMCYNAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMCYNAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMCYNAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMEIAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMEIAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_elem_init_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMEIAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMEIAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMEIAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMEIAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMEIAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMMEAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMMEAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_make_elem_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMMEAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMMEAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMMEAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMMEAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMMEAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMWAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMWAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_write_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMWAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMWAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMWAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMWAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMWAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMGEDAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMGEDAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_get_elem_desc)"" language c;

",
	"f",
	"drop function TimeSeriesAMGEDAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMGEDAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMGEDAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMGEDAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMGEDAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMETRAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMETRAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_elem_to_row_with_rdesc)"" language c;

",
	"f",
	"drop function TimeSeriesAMETRAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMETRAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMETRAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMETRAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMETRAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMOAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMOAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_open_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMOAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMOAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMOAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMOAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMOAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMCAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMCAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_am_close_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMCAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMCAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMCAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMCAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMCAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesAMFEDAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesAMFEDAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_free_elem_all_api)"" language c;

",
	"f",
	"drop function TimeSeriesAMFEDAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesAMFEDAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesAMFEDAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesAMFEDAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesAMFEDAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGSAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGSAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_stamp_api)"" language c;

",
	"f",
	"drop function TimeSeriesGSAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGSAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGSAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGSAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGSAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCWTAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCWTAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_with_tsdesc_api)"" language c;

",
	"f",
	"drop function TimeSeriesCWTAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCWTAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCWTAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCWTAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesCWTAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesVCHAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesVCHAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(_ts_do_create_vt)"" language c;

",
	"f",
	"drop function TimeSeriesVCHAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesVCHAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesVCHAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesVCHAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesVCHAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesGNHAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesGNHAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_getnext_internal)"" language c;

",
	"f",
	"drop function TimeSeriesGNHAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesGNHAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesGNHAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesGNHAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesGNHAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "Update (Calendar,Calendar)",
	"%SYSBLDUSER%", 0,
	"create function Update (Calendar,Calendar)
returns Calendar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_update)"" language c;

",
	"f",
	"drop function Update (Calendar,Calendar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "Update (Calendar,Calendar)",
	"%SYSBLDUSER%",
	7, "Calendar",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "Update (Calendar,Calendar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function Update (Calendar,Calendar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "Update (Calendar,Calendar)",
	"%SYSBLDUSER%",
	5, "Update (Calendar,Calendar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "DeepCopy (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function DeepCopy (TimeSeries)
returns TimeSeries with (parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_deep_copy)"" language c;

",
	"f",
	"drop function DeepCopy (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "DeepCopy (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "DeepCopy (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function DeepCopy (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "DeepCopy (TimeSeries)",
	"%SYSBLDUSER%",
	5, "DeepCopy (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSUsingDeepCopy ()",
	"%SYSBLDUSER%", 0,
	"create function TSUsingDeepCopy ()
returns boolean
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_using_deep_copy)"" language c;

",
	"f",
	"drop function TSUsingDeepCopy ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSUsingDeepCopy ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSUsingDeepCopy () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSUsingDeepCopy ()",
	"%SYSBLDUSER%",
	5, "TSUsingDeepCopy ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSGetSubType (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSGetSubType (lvarchar,lvarchar)
returns lvarchar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_tab_col_to_subtype)"" language c;

",
	"f",
	"drop function TSGetSubType (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSGetSubType (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSGetSubType (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSGetSubType (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSGetSubType (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function TSUpgrade_401XC1_401XC4 (TimeSeries)
returns TimeSeries with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_fix_upgrade)"" language c;

",
	"f",
	"drop function TSUpgrade_401XC1_401XC4 (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSUpgrade_401XC1_401XC4 (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
	"%SYSBLDUSER%",
	5, "TSUpgrade_401XC1_401XC4 (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSToXML (lvarchar,lvarchar,TimeSeries,integer default 0)
returns lvarchar with (parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tstoxml)"" language c;

",
	"f",
	"drop function TSToXML (lvarchar,lvarchar,TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSToXML (lvarchar,lvarchar,TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "TSToXML (lvarchar,lvarchar,TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"create function TSPartitionDescGetDBSpace (tsPartitionDesc_t)
returns lvarchar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_desc_get_dbspacename)"" language c;

",
	"f",
	"drop function TSPartitionDescGetDBSpace (tsPartitionDesc_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSPartitionDescGetDBSpace (tsPartitionDesc_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	5, "TSPartitionDescGetDBSpace (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSContainerSetPool (lvarchar,lvarchar default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_autopool_set_pool)"" language c;

",
	"f",
	"drop procedure TSContainerSetPool (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerSetPool (lvarchar,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_autopool_set_pool)"");

",
	"f",
	"alter procedure TSContainerSetPool (lvarchar,lvarchar)
	with (Modify External Name = ""ts_autopool_set_pool"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerSetPool (lvarchar,lvarchar)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSContainerSetPool (lvarchar,lvarchar)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSContainerSetPool (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSContainerSetPool (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar default 'autopool')
returns lvarchar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_autopool_round_robin)"" language c;

",
	"f",
	"drop function TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSContainerPoolRoundRobin (lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer default 0,lvarchar default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti)"" language c;

",
	"f",
	"drop procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti)"");

",
	"f",
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
	with (Modify External Name = ""ts_create_expression_vti"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableGet (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableGet (lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_get)"" language c;

",
	"f",
	"drop function TSVariableGet (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableGet (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableGet (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableGet (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableGet (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableSet (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableSet (lvarchar,lvarchar)
returns boolean with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_set)"" language c;

",
	"f",
	"drop function TSVariableSet (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableSet (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableSet (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableSet (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableSet (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableEnv (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableEnv (lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_env)"" language c;

",
	"f",
	"drop function TSVariableEnv (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableEnv (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableEnv (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableEnv (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableEnv (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableUnset (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableUnset (lvarchar)
returns boolean with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_unset)"" language c;

",
	"f",
	"drop function TSVariableUnset (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableUnset (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableUnset (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableUnset (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableUnset (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableSetVTI (datetime,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableSetVTI (datetime year to fraction(5),lvarchar)
returns boolean with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_setvti)"" language c;

",
	"f",
	"drop function TSVariableSetVTI (datetime year to fraction(5),lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableSetVTI (datetime,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableSetVTI (datetime year to fraction(5),lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableSetVTI (datetime,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableSetVTI (datetime,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableEnvClear (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableEnvClear (lvarchar)
returns boolean with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_env_clear)"" language c;

",
	"f",
	"drop function TSVariableEnvClear (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableEnvClear (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableEnvClear (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableEnvClear (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableEnvClear (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSVariableSubstitute (lvarchar,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_var_fmt)"" language c;

",
	"f",
	"drop function TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSVariableSubstitute (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSExpressionSQL (lvarchar,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_expression_sql)"" language c;

",
	"f",
	"drop function TSExpressionSQL (lvarchar,datetime year to fraction(5),datetime year to fraction(5),lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSExpressionSQL (lvarchar,datetime year to fraction(5),datetime year to fraction(5),lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSExpressionSQL (lvarchar,datetime,datetime,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Put (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Put (lvarchar,lvarchar)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put)"" language c;

",
	"f",
	"drop function TSL_Put (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Put (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Put (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Put (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Put (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
	"%SYSBLDUSER%", 0,
	"create function TSL_PutAndCommit (lvarchar,lvarchar,bson default NULL)
returns bigint with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_putandcommit)"" language c;

",
	"f",
	"drop function TSL_PutAndCommit (lvarchar,lvarchar,bson);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Control (lvarchar,bson)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Control (lvarchar,bson)
returns bson with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_control)"" language c;

",
	"f",
	"drop function TSL_Control (lvarchar,bson);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Control (lvarchar,bson)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Control (lvarchar,bson) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Control (lvarchar,bson)",
	"%SYSBLDUSER%",
	5, "TSL_Control (lvarchar,bson)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_PutAndCommit (lvarchar,lvarchar,bson) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
	"%SYSBLDUSER%",
	5, "TSL_PutAndCommit (lvarchar,lvarchar,bson)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Flush (lvarchar,int,int)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Flush (lvarchar,int default NULL,int default 0)
returns int with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_flush)"" language c;

",
	"f",
	"drop function TSL_Flush (lvarchar,int,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Flush (lvarchar,int,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Flush (lvarchar,int,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Flush (lvarchar,int,int)",
	"%SYSBLDUSER%",
	5, "TSL_Flush (lvarchar,int,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Put (lvarchar,clob)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Put (lvarchar,clob)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_clob)"" language c;

",
	"f",
	"drop function TSL_Put (lvarchar,clob);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Put (lvarchar,clob)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Put (lvarchar,clob) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Put (lvarchar,clob)",
	"%SYSBLDUSER%",
	5, "TSL_Put (lvarchar,clob)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Status (lvarchar,int)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Status (lvarchar,int)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_gstatus)"" language c;

",
	"f",
	"drop function TSL_Status (lvarchar,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Status (lvarchar,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Status (lvarchar,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Status (lvarchar,int)",
	"%SYSBLDUSER%",
	5, "TSL_Status (lvarchar,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_SessionStatus (lvarchar,int)",
	"%SYSBLDUSER%", 0,
	"create function TSL_SessionStatus (lvarchar,int)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_lstatus)"" language c;

",
	"f",
	"drop function TSL_SessionStatus (lvarchar,int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_SessionStatus (lvarchar,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_SessionStatus (lvarchar,int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_SessionStatus (lvarchar,int)",
	"%SYSBLDUSER%",
	5, "TSL_SessionStatus (lvarchar,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_SetLogMode (lvarchar,int default NULL,int default NULL,lvarchar default NULL)
returns int with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_setloginfo)"" language c;

",
	"f",
	"drop function TSL_SetLogMode (lvarchar,int,int,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_SetLogMode (lvarchar,int,int,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_SetLogMode (lvarchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_GetLogMessage (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSL_GetLogMessage (lvarchar,integer default 1)
returns lvarchar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_getlogmessages)"" language c;

",
	"f",
	"drop function TSL_GetLogMessage (lvarchar,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_GetLogMessage (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_GetLogMessage (lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_GetLogMessage (lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "TSL_GetLogMessage (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_SessionClose (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_SessionClose (lvarchar)
returns int
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_lrelease)"" language c;

",
	"f",
	"drop function TSL_SessionClose (lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_SessionClose (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_SessionClose (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_SessionClose (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_SessionClose (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128))
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant1)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128));

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128),lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant2)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128),lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128),lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128),lvarchar,lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant3)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128),lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128),lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRollup_tracing (lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSRollup_tracing (lvarchar,integer,lvarchar)
returns integer with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_tracing)"" language c;

",
	"f",
	"drop function TSRollup_tracing (lvarchar,integer,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRollup_tracing (lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRollup_tracing (lvarchar,integer,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRollup_tracing (lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSRollup_tracing (lvarchar,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_GetKeyContainer (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_GetKeyContainer (lvarchar,lvarchar)
returns varchar (128) with (parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_getkeycontainer)"" language c;

",
	"f",
	"drop function TSL_GetKeyContainer (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_GetKeyContainer (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_GetKeyContainer (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_GetKeyContainer (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_GetKeyContainer (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "DelRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function DelRange (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable) 
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_del_range_sql)"" language c;

",
	"f",
	"drop function DelRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "DelRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "DelRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function DelRange (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "DelRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	5, "DelRange (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "NullCleanup (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"create function NullCleanup (TimeSeries,datetime year to fraction(5) default null,datetime year to fraction(5) default null,integer default 0)
returns TimeSeries with (not variant, handlesnulls, parallelizable) 
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_null_scan_sql)"" language c;

",
	"f",
	"drop function NullCleanup (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "NullCleanup (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "NullCleanup (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function NullCleanup (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "NullCleanup (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%",
	5, "NullCleanup (TimeSeries,datetime,datetime,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CalStamp (lvarchar,datetime,int)",
	"%SYSBLDUSER%", 0,
	"create function CalStamp (lvarchar,datetime year to fraction(5),int)
returns datetime year to fraction(5) with (not variant, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_stamp_sql)"" language c;

",
	"f",
	"drop function CalStamp (lvarchar,datetime year to fraction(5),int);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CalStamp (lvarchar,datetime,int)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CalStamp (lvarchar,datetime year to fraction(5),int) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CalStamp (lvarchar,datetime,int)",
	"%SYSBLDUSER%",
	5, "CalStamp (lvarchar,datetime,int)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesClOrAPI ()",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesClOrAPI ()
returns pointer with (not variant, internal, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cal_origin_api)"" language c;

",
	"f",
	"drop function TimeSeriesClOrAPI ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesClOrAPI ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesClOrAPI () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesClOrAPI ()",
	"%SYSBLDUSER%",
	5, "TimeSeriesClOrAPI ()",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSContainerPurge (lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSContainerPurge (lvarchar,lvarchar default 'client',integer default 0)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_purge_sql)"" language c;

",
	"f",
	"drop function TSContainerPurge (lvarchar,lvarchar,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSContainerPurge (lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSContainerPurge (lvarchar,lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSContainerPurge (lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "TSContainerPurge (lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function CountIf (TimeSeries,lvarchar,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
returns integer with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_count_if_expr_sql)"" language c;

",
	"f",
	"drop function CountIf (TimeSeries,lvarchar,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CountIf (TimeSeries,lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "CountIf (TimeSeries,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
returns integer with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_count_if_lvarchar_sql)"" language c;

",
	"f",
	"drop function CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "CountIf (TimeSeries,lvarchar,lvarchar,lvarchar,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime year to fraction(5) default null,datetime year to fraction(5) default null)
returns integer with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_count_if_decimal_sql)"" language c;

",
	"f",
	"drop function CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"grant execute on function CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
	"%SYSBLDUSER%",
	5, "CountIf (TimeSeries,lvarchar,lvarchar,decimal,datetime,datetime)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%", 0,
	"create procedure TSContainerLock (varchar (128),integer)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_lock_sql)"" language c;

",
	"f",
	"drop procedure TSContainerLock (varchar (128),integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerLock (varchar (128),integer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_lock_sql)"");

",
	"f",
	"alter procedure TSContainerLock (varchar (128),integer)
	with (Modify External Name = ""ts_container_lock_sql"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%",
	6, "TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 86, "Alter-Variant-TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerLock (varchar (128),integer)
	with (add not variant);

",
	"f",
	"alter procedure TSContainerLock (varchar (128),integer)
	with (drop not variant);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	86, "Alter-Variant-TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%",
	6, "TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSContainerLock (varchar (128),integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%",
	6, "TSContainerLock (varchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSContainerManage (varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSContainerManage (varchar (128),lvarchar)
returns lvarchar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_manage_sql)"" language c;

",
	"f",
	"drop function TSContainerManage (varchar (128),lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSContainerManage (varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSContainerManage (varchar (128),lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSContainerManage (varchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSContainerManage (varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%", 0,
	"create procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar default 'month',integer default 0,integer default 0,lvarchar default null,integer default 0,integer default 16,integer default 16,integer default 0,integer default 0)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_create_window_sql)"" language c;

",
	"f",
	"drop procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_container_create_window_sql)"");

",
	"f",
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
	with (Modify External Name = ""ts_container_create_window_sql"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime year to fraction(5),lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "compare (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function compare (TimeSeries,TimeSeries)
returns integer with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_compare)"" language c;

",
	"f",
	"drop function compare (TimeSeries,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "compare (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "compare (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function compare (TimeSeries,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "compare (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%",
	5, "compare (TimeSeries,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "SetReplToken (TimeSeries,integer,integer,smallint)",
	"%SYSBLDUSER%", 0,
	"create function SetReplToken (TimeSeries,integer,integer,smallint)
returns TimeSeries with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_set_repltoken_sql)"" language c;

",
	"f",
	"drop function SetReplToken (TimeSeries,integer,integer,smallint);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "SetReplToken (TimeSeries,integer,integer,smallint)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "SetReplToken (TimeSeries,integer,integer,smallint)",
	"%SYSBLDUSER%", 0,
	"grant execute on function SetReplToken (TimeSeries,integer,integer,smallint) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "SetReplToken (TimeSeries,integer,integer,smallint)",
	"%SYSBLDUSER%",
	5, "SetReplToken (TimeSeries,integer,integer,smallint)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Attach (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Attach (varchar (128),varchar (128),lvarchar default NULL)
returns lvarchar with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_attach)"" language c;

",
	"f",
	"drop function TSL_Attach (varchar (128),varchar (128),lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Attach (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Attach (varchar (128),varchar (128),lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Attach (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Attach (varchar,varchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant4)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar,integer,integer,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant5)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar,lvarchar,lvarchar default NULL)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init_variant7)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,lvarchar,lvarchar,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Init (varchar (128),varchar (128),integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)
returns lvarchar with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_init)"" language c;

",
	"f",
	"drop function TSL_Init (varchar (128),varchar (128),integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Init (varchar (128),varchar (128),integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_Init (varchar,varchar,integer,integer,integer,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_PutSQL (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_PutSQL (lvarchar,lvarchar)
returns integer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_sql)"" language c;

",
	"f",
	"drop function TSL_PutSQL (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_PutSQL (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_PutSQL (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_PutSQL (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_PutSQL (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_PutJson (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_PutJson (lvarchar,lvarchar)
returns integer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_json)"" language c;

",
	"f",
	"drop function TSL_PutJson (lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_PutJson (lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_PutJson (lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_PutJson (lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_PutJson (lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_PutRow (lvarchar,lvarchar,row)",
	"%SYSBLDUSER%", 0,
	"create function TSL_PutRow (lvarchar,lvarchar,row)
returns integer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_put_row)"" language c;

",
	"f",
	"drop function TSL_PutRow (lvarchar,lvarchar,row);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_PutRow (lvarchar,lvarchar,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_PutRow (lvarchar,lvarchar,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_PutRow (lvarchar,lvarchar,row)",
	"%SYSBLDUSER%",
	5, "TSL_PutRow (lvarchar,lvarchar,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TimeSeriesCDRSYM (pointer)",
	"%SYSBLDUSER%", 0,
	"create function TimeSeriesCDRSYM (pointer)
returns integer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_cdr_load_sym)"" language c;

",
	"f",
	"drop function TimeSeriesCDRSYM (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TimeSeriesCDRSYM (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TimeSeriesCDRSYM (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TimeSeriesCDRSYM (pointer)",
	"%SYSBLDUSER%",
	5, "TimeSeriesCDRSYM (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetRepTok (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function GetRepTok (TimeSeries)
returns smallint
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_reptok)"" language c;

",
	"f",
	"drop function GetRepTok (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetRepTok (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetRepTok (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetRepTok (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetRepTok (TimeSeries)",
	"%SYSBLDUSER%",
	5, "GetRepTok (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ifx_checksum (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function ifx_checksum (TimeSeries,integer)
returns integer with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_checksum_sql)"" language c;

",
	"f",
	"drop function ifx_checksum (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ifx_checksum (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ifx_checksum (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ifx_checksum (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ifx_checksum (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "ifx_checksum (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)
returns tsPartitionDesc_t
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_setextent)"" language c;

",
	"f",
	"drop function TSPartitionSetExtent (tsPartitionDesc_t,integer,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSPartitionSetExtent (tsPartitionDesc_t,integer,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
	"%SYSBLDUSER%",
	5, "TSPartitionSetExtent (tsPartitionDesc_t,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetFirstElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetFirstElementStamp (TimeSeries,integer default 0)
returns datetime year to fraction(5) with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_first_element_stamp_sql)"" language c;

",
	"f",
	"drop function GetFirstElementStamp (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetFirstElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetFirstElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetFirstElementStamp (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetFirstElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "GetFirstElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "GetLastElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function GetLastElementStamp (TimeSeries,integer default 0)
returns datetime year to fraction(5) with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_get_last_element_stamp_sql)"" language c;

",
	"f",
	"drop function GetLastElementStamp (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "GetLastElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "GetLastElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function GetLastElementStamp (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "GetLastElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "GetLastElementStamp (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti_string)"" language c;

",
	"f",
	"drop procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_vti_string)"");

",
	"f",
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (Modify External Name = ""ts_create_vti_string"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_Commit (lvarchar,integer,integer,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSL_Commit (lvarchar,integer default 0,integer default NULL,integer default NULL)
returns integer with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_commit)"" language c;

",
	"f",
	"drop function TSL_Commit (lvarchar,integer,integer,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_Commit (lvarchar,integer,integer,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_Commit (lvarchar,integer,integer,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_Commit (lvarchar,integer,integer,integer)",
	"%SYSBLDUSER%",
	5, "TSL_Commit (lvarchar,integer,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_FlushInfo (lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSL_FlushInfo (lvarchar)
returns TSL_FlushInfo_r with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_flushinfo)"" language c;

",
	"f",
	"drop function TSL_FlushInfo (lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSL_FlushInfo (lvarchar)",
	"%SYSBLDUSER%",
	7, "TSL_FlushInfo_r",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_FlushInfo (lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_FlushInfo (lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_FlushInfo (lvarchar)",
	"%SYSBLDUSER%",
	5, "TSL_FlushInfo (lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_FlushAll (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSL_FlushAll (lvarchar,integer default 0)
returns integer with (handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_flushall)"" language c;

",
	"f",
	"drop function TSL_FlushAll (lvarchar,integer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSL_FlushAll (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSL_FlushAll (lvarchar,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSL_FlushAll (lvarchar,integer)",
	"%SYSBLDUSER%",
	5, "TSL_FlushAll (lvarchar,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar default NULL)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti_string)"" language c;

",
	"f",
	"drop procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_create_expression_vti_string)"");

",
	"f",
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (Modify External Name = ""ts_create_expression_vti_string"");

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	182, "Alter-ExternalName-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (add handlesnulls);

",
	"f",
	"alter procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
	with (drop handlesnulls);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	54, "Alter-HandleNul-TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on procedure TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	70, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%",
	6, "TSCreateExpressionVirtualTab (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_vtam_pdq_background (pointer)",
	"%SYSBLDUSER%", 0,
	"create function ts_vtam_pdq_background (pointer)
returns integer
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_vtam_pdq_background_sql)"" language c;

",
	"f",
	"drop function ts_vtam_pdq_background (pointer);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_vtam_pdq_background (pointer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_vtam_pdq_background (pointer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_vtam_pdq_background (pointer)",
	"%SYSBLDUSER%",
	5, "ts_vtam_pdq_background (pointer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PartitionExport (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"create function PartitionExport (tsPartitionDesc_t)
returns impexp
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_export)"" language c;

",
	"f",
	"drop function PartitionExport (tsPartitionDesc_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PartitionExport (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PartitionExport (tsPartitionDesc_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PartitionExport (tsPartitionDesc_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PartitionExport (tsPartitionDesc_t)",
	"%SYSBLDUSER%",
	5, "PartitionExport (tsPartitionDesc_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "tsPartitionDesc_t->impexp",
	"%SYSBLDUSER%", 0,
	"create cast
	(
		tsPartitionDesc_t as impexp
		with  PartitionExport
	);

",
	"f",
	"drop cast (tsPartitionDesc_t as impexp);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "tsPartitionDesc_t->impexp",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "PartitionImport (impexp)",
	"%SYSBLDUSER%", 0,
	"create function PartitionImport (impexp)
returns tsPartitionDesc_t
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_partition_import)"" language c;

",
	"f",
	"drop function PartitionImport (impexp);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "PartitionImport (impexp)",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "PartitionImport (impexp)",
	"%SYSBLDUSER%", 0,
	"grant execute on function PartitionImport (impexp) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "PartitionImport (impexp)",
	"%SYSBLDUSER%",
	5, "PartitionImport (impexp)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "impexp->tsPartitionDesc_t",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		impexp as tsPartitionDesc_t
		with  PartitionImport
	);

",
	"f",
	"drop cast (impexp as tsPartitionDesc_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "impexp->tsPartitionDesc_t",
	"%SYSBLDUSER%",
	7, "tsPartitionDesc_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "StateToList (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function StateToList (TimeSeriesAggState)
returns list with (not variant)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_state_to_list)"" language c;

",
	"f",
	"drop function StateToList (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "StateToList (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "StateToList (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function StateToList (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "StateToList (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "StateToList (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 3, "TimeSeriesAggState->list",
	"%SYSBLDUSER%", 0,
	"create implicit cast
	(
		TimeSeriesAggState as list
		with  StateToList
	);

",
	"f",
	"drop cast (TimeSeriesAggState as list);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	3, "TimeSeriesAggState->list",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_init (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_init (TimeSeries)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_init)"" language c;

",
	"f",
	"drop function ts_agg_init (TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_init (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_init (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_init (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_init (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_init (TimeSeries)",
	"%SYSBLDUSER%",
	5, "ts_agg_init (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_iter (TimeSeriesAggState,TimeSeries)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_iter)"" language c;

",
	"f",
	"drop function ts_agg_iter (TimeSeriesAggState,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_iter (TimeSeriesAggState,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ts_agg_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;

",
	"f",
	"drop function ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_combine (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_final (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_final (TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;

",
	"f",
	"drop function ts_agg_final (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_final (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_final (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_final (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_final (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_final (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TsSetToList (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create aggregate TsSetToList
with (
	init = ts_agg_init,
	iter = ts_agg_iter,
	combine = ts_agg_combine,
	final = ts_agg_final
);

",
	"f",
	"drop aggregate TsSetToList;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsSetToList (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsSetToList (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnum_init (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnum_init (TimeSeries,integer)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_colnum_init)"" language c;

",
	"f",
	"drop function ts_agg_colnum_init (TimeSeries,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnum_init (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnum_init (TimeSeries,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnum_init (TimeSeries,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnum_init (TimeSeries,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnum_init (TimeSeries,integer)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnum_init (TimeSeries,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_iter)"" language c;

",
	"f",
	"drop function ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnum_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;

",
	"f",
	"drop function ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnum_fin (TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;

",
	"f",
	"drop function ts_agg_colnum_fin (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnum_fin (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TsColNumToList (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create aggregate TsColNumToList
with (
	init = ts_agg_colnum_init,
	iter = ts_agg_colnum_iter,
	combine = ts_agg_colnum_comb,
	final = ts_agg_colnum_fin,
	handlesnulls 
);

",
	"f",
	"drop aggregate TsColNumToList;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsColNumToList (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsColNumToList (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnam_init (TimeSeries,lvarchar)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_colname_init)"" language c;

",
	"f",
	"drop function ts_agg_colnam_init (TimeSeries,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnam_init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnam_init (TimeSeries,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnam_init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnam_init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_iter)"" language c;

",
	"f",
	"drop function ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnam_iter (TimeSeriesAggState,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;

",
	"f",
	"drop function ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_colnam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_colnam_fin (TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;

",
	"f",
	"drop function ts_agg_colnam_fin (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_colnam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_colnam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_colnam_fin (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_colnam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_colnam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TsColNameToList (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create aggregate TsColNameToList
with (
	init = ts_agg_colnam_init,
	iter = ts_agg_colnam_iter,
	combine = ts_agg_colnam_comb,
	final = ts_agg_colnam_fin,
	handlesnulls 
);

",
	"f",
	"drop aggregate TsColNameToList;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsColNameToList (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsColNameToList (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_row_init (row)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_row_init (row)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_init)"" language c;

",
	"f",
	"drop function ts_agg_row_init (row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_row_init (row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_row_init (row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_row_init (row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_row_init (row)",
	"%SYSBLDUSER%",
	5, "ts_agg_row_init (row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_row_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_row_iter (TimeSeriesAggState,row)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_iter)"" language c;

",
	"f",
	"drop function ts_agg_row_iter (TimeSeriesAggState,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_row_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_row_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_row_iter (TimeSeriesAggState,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_row_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%",
	5, "ts_agg_row_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;

",
	"f",
	"drop function ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_row_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_row_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_row_fin (TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;

",
	"f",
	"drop function ts_agg_row_fin (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_row_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_row_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_row_fin (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_row_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_row_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TsRowToList (row)",
	"%SYSBLDUSER%", 0,
	"create aggregate TsRowToList
with (
	init = ts_agg_row_init,
	iter = ts_agg_row_iter,
	combine = ts_agg_row_comb,
	final = ts_agg_row_fin,
	handlesnulls 
);

",
	"f",
	"drop aggregate TsRowToList;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsRowToList (row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownum_init (row,integer)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownum_init (row,integer)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_colnum_init)"" language c;

",
	"f",
	"drop function ts_agg_rownum_init (row,integer);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownum_init (row,integer)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownum_init (row,integer)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownum_init (row,integer) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownum_init (row,integer)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownum_init (row,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownum_iter (TimeSeriesAggState,row)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_iter)"" language c;

",
	"f",
	"drop function ts_agg_rownum_iter (TimeSeriesAggState,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownum_iter (TimeSeriesAggState,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownum_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;

",
	"f",
	"drop function ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownum_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownum_fin (TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;

",
	"f",
	"drop function ts_agg_rownum_fin (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownum_fin (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownum_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TsRowNumToList (row)",
	"%SYSBLDUSER%", 0,
	"create aggregate TsRowNumToList
with (
	init = ts_agg_rownum_init,
	iter = ts_agg_rownum_iter,
	combine = ts_agg_rownum_comb,
	final = ts_agg_rownum_fin,
	handlesnulls 
);

",
	"f",
	"drop aggregate TsRowNumToList;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsRowNumToList (row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownam_init (row,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownam_init (row,lvarchar)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_colname_init)"" language c;

",
	"f",
	"drop function ts_agg_rownam_init (row,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownam_init (row,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownam_init (row,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownam_init (row,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownam_init (row,lvarchar)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownam_init (row,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownam_iter (TimeSeriesAggState,row)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_row_iter)"" language c;

",
	"f",
	"drop function ts_agg_rownam_iter (TimeSeriesAggState,row);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownam_iter (TimeSeriesAggState,row) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownam_iter (TimeSeriesAggState,row)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_combine)"" language c;

",
	"f",
	"drop function ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownam_comb (TimeSeriesAggState,TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ts_agg_rownam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"create function ts_agg_rownam_fin (TimeSeriesAggState)
returns TimeSeriesAggState with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_agg_final)"" language c;

",
	"f",
	"drop function ts_agg_rownam_fin (TimeSeriesAggState);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ts_agg_rownam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "ts_agg_rownam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%", 0,
	"grant execute on function ts_agg_rownam_fin (TimeSeriesAggState) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "ts_agg_rownam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%",
	5, "ts_agg_rownam_fin (TimeSeriesAggState)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TsRowNameToList (row)",
	"%SYSBLDUSER%", 0,
	"create aggregate TsRowNameToList
with (
	init = ts_agg_rownam_init,
	iter = ts_agg_rownam_iter,
	combine = ts_agg_rownam_comb,
	final = ts_agg_rownam_fin,
	handlesnulls 
);

",
	"f",
	"drop aggregate TsRowNameToList;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TsRowNameToList (row)",
	"%SYSBLDUSER%",
	7, "TimeSeriesAggState",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRollup_Init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function TSRollup_Init (TimeSeries,lvarchar)
returns TSRollup_t with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_init)"" language c;

",
	"f",
	"drop function TSRollup_Init (TimeSeries,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	7, "TSRollup_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRollup_Init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRollup_Init (TimeSeries,lvarchar) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRollup_Init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%",
	5, "TSRollup_Init (TimeSeries,lvarchar)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function TSRollup_Iter (TSRollup_t,TimeSeries)
returns TSRollup_t with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_iter)"" language c;

",
	"f",
	"drop function TSRollup_Iter (TSRollup_t,TimeSeries);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
	"%SYSBLDUSER%",
	7, "TSRollup_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRollup_Iter (TSRollup_t,TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRollup_Iter (TSRollup_t,TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRollup_Iter (TSRollup_t,TimeSeries)",
	"%SYSBLDUSER%",
	5, "TSRollup_Iter (TSRollup_t,TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
	"%SYSBLDUSER%", 0,
	"create function TSRollup_Combine (TSRollup_t,TSRollup_t)
returns TSRollup_t with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_combine)"" language c;

",
	"f",
	"drop function TSRollup_Combine (TSRollup_t,TSRollup_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
	"%SYSBLDUSER%",
	7, "TSRollup_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRollup_Combine (TSRollup_t,TSRollup_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
	"%SYSBLDUSER%",
	5, "TSRollup_Combine (TSRollup_t,TSRollup_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSRollup_Final (TSRollup_t)",
	"%SYSBLDUSER%", 0,
	"create function TSRollup_Final (TSRollup_t)
returns TimeSeries with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsrollup_final)"" language c;

",
	"f",
	"drop function TSRollup_Final (TSRollup_t);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Final (TSRollup_t)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSRollup_Final (TSRollup_t)",
	"%SYSBLDUSER%",
	7, "TSRollup_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSRollup_Final (TSRollup_t)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSRollup_Final (TSRollup_t) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSRollup_Final (TSRollup_t)",
	"%SYSBLDUSER%",
	5, "TSRollup_Final (TSRollup_t)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "TSRollup (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create aggregate TSRollup
with (
	init = TSRollup_Init,
	iter = TSRollup_Iter,
	combine = TSRollup_Combine,
	final = TSRollup_Final,
	handlesnulls 
);

",
	"f",
	"drop aggregate TSRollup;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TSRollup (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "TSRollup (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TSRollup_t",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainerwindowtable_wdc",
	"%SYSBLDUSER%", 0,
	"ALTER TABLE tscontainerwindowtable ADD windowdordestroycount integer default 0;",
	"f",
	"
CREATE PROCEDURE tsalterdcwcwt();
	    define drop_wt integer;

	    let drop_wt = 0;

	    select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';

	    if (drop_wt != 0) then
ALTER TABLE tscontainerwindowtable DROP windowdordestroycount;
	    end if;

END PROCEDURE;

EXECUTE PROCEDURE tsalterdcwcwt();
DROP PROCEDURE tsalterdcwcwt();
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable_wdc",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tscontainerwindowtable_wfc",
	"%SYSBLDUSER%", 0,
	"ALTER TABLE tscontainerwindowtable ADD windowfutureinsertcount integer default 0;",
	"f",
	"
CREATE PROCEDURE tsalterfuturecount();
	    define drop_wt integer;

	    let drop_wt = 0;

	    select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';

	    if (drop_wt != 0) then
ALTER TABLE tscontainerwindowtable DROP windowfutureinsertcount;
	    end if;

END PROCEDURE;

EXECUTE PROCEDURE tsalterfuturecount();
DROP PROCEDURE tsalterfuturecount();
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tscontainerwindowtable_wfc",
	"%SYSBLDUSER%",
	6, "TSContainerCreate (lvarchar,lvarchar,lvarchar,integer,integer,datetime,lvarchar,integer,integer,lvarchar,integer,integer,integer,integer,integer)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "tsattached_indexes",
	"%SYSBLDUSER%", 0,
	"
ALTER TABLE tscontainertable MODIFY name VARCHAR( 128,1) NOT NULL;
CREATE UNIQUE INDEX tscontainertable_pk ON tscontainertable (name) IN TABLE;
ALTER TABLE tscontainertable ADD 
	CONSTRAINT PRIMARY KEY(name) 
		CONSTRAINT tscontainertable_cpk;

ALTER TABLE tsinstancetable MODIFY id BIGSERIAL NOT NULL;
CREATE UNIQUE INDEX tsinstancetable_id on tsinstancetable(id) IN TABLE;

ALTER TABLE tscontainerwindowtable MODIFY name VARCHAR( 128,1) NOT NULL;
CREATE UNIQUE INDEX tscontainerwindowtable_pk on tscontainerwindowtable(name) IN TABLE;
ALTER TABLE tscontainerwindowtable ADD 
	CONSTRAINT FOREIGN KEY(name) REFERENCES tscontainertable(name) ON DELETE CASCADE 
		CONSTRAINT tscontainerwindowtable_cfk;

ALTER TABLE CalendarPatterns MODIFY cp_name VARCHAR(255) NOT NULL;
CREATE UNIQUE INDEX CalendarPatterns_name on CalendarPatterns(cp_name) IN TABLE;

ALTER TABLE Calendartable MODIFY c_id SERIAL NOT NULL;
ALTER TABLE Calendartable MODIFY c_name VARCHAR(255) NOT NULL;
CREATE UNIQUE INDEX Calendartable_id on Calendartable(c_id) IN TABLE;

CREATE UNIQUE INDEX Calendartable_name on Calendartable(c_name) IN TABLE;
",
	"f",
	"
--  tscontainerwindowtable_cfk is dropped by the following
ALTER TABLE tscontainertable DROP CONSTRAINT tscontainertable_cpk;

DROP INDEX tscontainertable_pk;
ALTER TABLE tscontainertable MODIFY name VARCHAR( 128,1) NOT NULL PRIMARY KEY;

ALTER TABLE tsinstancetable MODIFY id BIGSERIAL NOT NULL PRIMARY KEY;
DROP INDEX tsinstancetable_id;

CREATE PROCEDURE tsalterpkcwt();
	    define drop_wt integer;

	    let drop_wt = 0;

	    select count(*) into drop_wt from systables where tabname = 'tscontainerwindowtable';

	    if (drop_wt != 0) then
DROP INDEX tscontainerwindowtable_pk;
ALTER TABLE tscontainerwindowtable MODIFY name VARCHAR(128,1) NOT NULL PRIMARY KEY
                REFERENCES tscontainertable(name) ON DELETE CASCADE;
	    end if;

END PROCEDURE;

EXECUTE PROCEDURE tsalterpkcwt();
DROP PROCEDURE tsalterpkcwt();

DROP INDEX CalendarPatterns_name;
ALTER TABLE CalendarPatterns MODIFY cp_name VARCHAR(255) NOT NULL;

DROP INDEX Calendartable_id;
DROP INDEX Calendartable_name;
ALTER TABLE Calendartable MODIFY c_id SERIAL NOT NULL UNIQUE;
ALTER TABLE Calendartable MODIFY c_name VARCHAR(255) NOT NULL UNIQUE;
",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsattached_indexes",
	"%SYSBLDUSER%",
	0, "tscontainertable_128",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsattached_indexes",
	"%SYSBLDUSER%",
	0, "tsinstancetable_bigint",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsattached_indexes",
	"%SYSBLDUSER%",
	0, "tscontainerwindowtable",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsattached_indexes",
	"%SYSBLDUSER%",
	0, "CalendarPattern Table",
	"%SYSBLDUSER%"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	0, "tsattached_indexes",
	"%SYSBLDUSER%",
	0, "CalendarTable",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSInfo (TimeSeries,bson,datetime,datetime)",
	"%SYSBLDUSER%", 0,
	"create function TSInfo (TimeSeries,bson default NULL,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL)
returns bson with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_info_bson_sql)"" language c;
	grant execute on function TSInfo (TimeSeries,bson,datetime year to fraction(5),datetime year to fraction(5)) to public;

",
	"f",
	"drop function TSInfo (TimeSeries,bson,datetime year to fraction(5),datetime year to fraction(5));

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSInfo (TimeSeries,bson,datetime,datetime)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "ProjectedClip (TimeSeries,datetime,datetime,integer,lvarchar)",
	"%SYSBLDUSER%", 0,
	"create function ProjectedClip (TimeSeries,datetime year to fraction(5) default NULL,datetime year to fraction(5) default NULL,integer default 0,lvarchar default NULL)
returns TimeSeries with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(ts_clip_and_project)"" language c;
	grant execute on function ProjectedClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer,lvarchar) to public;

",
	"f",
	"drop function ProjectedClip (TimeSeries,datetime year to fraction(5),datetime year to fraction(5),integer,lvarchar);

",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "ProjectedClip (TimeSeries,datetime,datetime,integer,lvarchar)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_ActiveHandles ()",
	"%SYSBLDUSER%", 0,
	"create function TSL_ActiveHandles ()
returns SET(lvarchar not null)
with (handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_active_handles)"" language c;
	grant execute on function TSL_ActiveHandles () to public;
",
	"f",
	"drop function TSL_ActiveHandles ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_SetNewTS (lvarchar,lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSL_SetNewTS (lvarchar, lvarchar DEFAULT NULL, integer DEFAULT NULL)
returns integer
with (not variant, handlesnulls, parallelizable)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_set_newts)"" language c;
	grant execute on function TSL_SetNewTS (lvarchar,lvarchar,integer) to public;
",
	"f",
	"drop function TSL_SetNewTS (lvarchar,lvarchar,integer);
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_MessageSet ()",
	"%SYSBLDUSER%", 0,
	"create function TSL_MessageSet ()
returns SET(ROW(message_id INTEGER, mesg VARCHAR(255)) NOT NULL)
with (not variant, handlesnulls)
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_message_set)"" language c;
	grant execute on function TSL_MessageSet () to public;
",
	"f",
	"drop function TSL_MessageSet ();
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSL_GetFmtMessage (lvarchar,integer)",
	"%SYSBLDUSER%", 0,
	"create function TSL_GetFmtMessage (lvarchar,integer default 1)
returns lvarchar
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsl_getfmtmessages)"" language c;
	grant execute on function TSL_GetFmtMessage (lvarchar,integer) to public;
",
	"f",
	"drop function TSL_GetFmtMessage (lvarchar,integer);
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCBufferSize (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"create function TSCBufferSize (TimeSeries)
returns bson
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsc_buffer_size)"" language c;

",
	"f",
	"drop function TSCBufferSize (TimeSeries);

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCBufferSize (TimeSeries)",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCBufferSize (TimeSeries) to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCBufferSize (TimeSeries)",
	"%SYSBLDUSER%",
	5, "TSCBufferSize (TimeSeries)",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 5, "TSCRunningTotal ()",
	"%SYSBLDUSER%", 0,
	"create function TSCRunningTotal ()
returns bson
external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/TimeSeries.bld(tsc_running_total)"" language c;

",
	"f",
	"drop function TSCRunningTotal ();

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 69, "TSCRunningTotal ()",
	"%SYSBLDUSER%", 0,
	"grant execute on function TSCRunningTotal () to public;

",
	"f",
	"",
	"f"
);

insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	69, "TSCRunningTotal ()",
	"%SYSBLDUSER%",
	5, "TSCRunningTotal ()",
	"%SYSBLDUSER%"
);


insert into sysbldobjdepends
(
	bld_id,
	obj_kind,
	obj_signature,
	obj_owner,
	need_obj_kind,
	need_obj_signature,
	need_obj_owner)
	values
(
	"%SYSBLDNAME%",
	5, "TSCBufferSize (TimeSeries)",
	"%SYSBLDUSER%",
	7, "TimeSeries",
	"%SYSBLDUSER%"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete sts all - 2",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_sts_all()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;

define sql_txt1 lvarchar;
define sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;
define sp_tabname lvarchar;
define log_tabname lvarchar;
define res integer;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
          substr(dbinfo('version','level'), 2,1)::int 
    INTO nmajor, nminor, slevel
     FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
drop function if exists STS_Trajectory_Build (lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,
datetime year to fraction(5),interval day to second,interval day to second);

drop function if exists STS_Logtable_Get (lvarchar,lvarchar);

drop function if exists STS_Logtable_Insert (lvarchar,lvarchar,datetime year to fraction(5));

drop function if exists STS_Logtable_Update (lvarchar,lvarchar,datetime year to fraction(5));

drop function if exists STS_MBR_Build (TimeSeries,lvarchar,lvarchar,lvarchar,lvarchar);

drop function if exists STS_GetPosition (TimeSeries,datetime year to fraction(5));

drop function if exists STS_GetLastPosition (TimeSeries);

drop function if exists STS_GetFirstTimeByPoint (lvarchar,lvarchar,TimeSeries,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);

drop function if exists STS_GetTrajectory (TimeSeries,datetime year to fraction(5),
datetime year to fraction(5));

END IF
END PROCEDURE;
EXECUTE PROCEDURE delete_sts_all();
DROP PROCEDURE delete_sts_all;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete sts all - 3",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_sts_all()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;

define sql_txt1 lvarchar;
define sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;
define sp_tabname lvarchar;
define log_tabname lvarchar;
define res integer;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
          substr(dbinfo('version','level'), 2,1)::int 
    INTO nmajor, nminor, slevel
     FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
drop function if exists STS_GetCompactTrajectory (lvarchar,lvarchar,TimeSeries,
datetime year to fraction(5),datetime year to fraction(5));

drop function if exists STS_TrajectoryWithin (lvarchar,lvarchar,lvarchar,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);

drop function if exists STS_TrajectoryIntersect (lvarchar,lvarchar,lvarchar,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);

drop function if exists STS_TrajectoryCross (lvarchar,lvarchar,lvarchar,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);

drop function if exists STS_TrajectoryStaying (lvarchar,lvarchar,interval hour to second,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);

drop function if exists STS_TrajectoryDistance (lvarchar,lvarchar,lvarchar,
datetime year to fraction(5),datetime year to fraction(5),lvarchar);

drop procedure if exists STS_Set_Trace (lvarchar,lvarchar);
DELETE FROM systraceclasses WHERE name = 'STSBuild';
DELETE FROM systraceclasses WHERE name = 'STSQuery';

END IF
END PROCEDURE;
EXECUTE PROCEDURE delete_sts_all();
DROP PROCEDURE delete_sts_all;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete sts all - 4",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_sts_all()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;

define sql_txt1 lvarchar;
define sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;
define sp_tabname lvarchar;
define log_tabname lvarchar;
define res integer;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
          substr(dbinfo('version','level'), 2,1)::int 
    INTO nmajor, nminor, slevel
     FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
drop function if exists STS_GetIntersectSet (lvarchar,lvarchar,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,real);

drop function if exists STS_GetLocWithinSet (lvarchar,lvarchar,datetime year to fraction(5),
lvarchar,real);

drop function if exists STS_GetStayingSet (lvarchar,interval hour to second,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real);

drop function if exists STS_GetNearestObject (lvarchar,lvarchar,datetime year to fraction(5),
lvarchar,real);

drop function if exists sts_task_process_request (lvarchar, lvarchar);

drop function if exists STS_Cleanup (lvarchar);

drop function if exists STS_Cleanup ();

drop function if exists STS_GetFirstTimeByPoint (lvarchar,lvarchar,TimeSeries,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real,lvarchar);

delete from sysbldobjects where bld_id like 'sts.%';
delete from sysbldobjdepends where bld_id like 'sts.%';
delete from sysbldregistered where bld_id like 'sts.%';
delete from sysbldirequired where bld_id like 'sts.%';
delete from sysbldiprovided where bld_id like 'sts.%';

END IF
END PROCEDURE;
EXECUTE PROCEDURE delete_sts_all();
DROP PROCEDURE delete_sts_all;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete sts all - 5",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_sts_all()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;

define sql_txt1 lvarchar;
define sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;
define sp_tabname lvarchar;
define log_tabname lvarchar;
define res integer;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
          substr(dbinfo('version','level'), 2,1)::int 
    INTO nmajor, nminor, slevel
     FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
drop function if exists STS_TrajectoryWithin (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,real,lvarchar);

drop function if exists STS_TrajectoryIntersect (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,real,lvarchar);

drop function if exists STS_TrajectoryCross (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,real,lvarchar);

drop function if exists STS_TrajectoryStaying (lvarchar,lvarchar,interval hour to second,
datetime year to fraction(5),datetime year to fraction(5),lvarchar,real,lvarchar);

drop function if exists STS_TrajectoryDistance (lvarchar,lvarchar,lvarchar,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,lvarchar);

drop function if exists STS_GetIntersectSet (lvarchar,lvarchar,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,real,lvarchar);

drop function if exists STS_GetLocWithinSet (lvarchar,lvarchar,datetime year to fraction(5),
lvarchar,real,lvarchar);

drop function if exists STS_GetStayingSet (lvarchar,interval hour to second,datetime year to fraction(5),
datetime year to fraction(5),lvarchar,real,lvarchar);

drop function if exists STS_GetNearestObject (lvarchar,lvarchar,datetime year to fraction(5),
lvarchar,real,lvarchar);

drop function if exists STS_Release ();

END IF
END PROCEDURE;
EXECUTE PROCEDURE delete_sts_all();
DROP PROCEDURE delete_sts_all;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete sts all - 1",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_sts_all()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;

define sql_txt1 lvarchar;
define sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;
define sp_tabname lvarchar;
define log_tabname lvarchar;
define res integer;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
          substr(dbinfo('version','level'), 2,1)::int 
    INTO nmajor, nminor, slevel
     FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
    let sql_txt1 = ""select tabname from systables where tabname like '%_lasttime'"";

    PREPARE sql_stmt FROM sql_txt1;
    DECLARE sql_cur CURSOR FOR sql_stmt;
    OPEN sql_cur;

    WHILE (1 = 1)
        FETCH sql_cur INTO tabname_val;
        IF (SQLCODE != 0) THEN
           EXIT WHILE;
        END IF;
        let ts_tabname = substr(tabname_val,1,instr(tabname_val,'_lasttime')-1);
        let sp_tabname = substr(ts_tabname,1,100) || ""_subtrack"";
        let log_tabname = substr(ts_tabname,1,100) || ""_lasttime""; 
        let sql_txt2 = ""drop table if exists "" || sp_tabname ;
        execute immediate sql_txt2;
        let sql_txt2 = ""drop table if exists "" || log_tabname ;
        execute immediate sql_txt2;   
    END WHILE
    CLOSE sql_cur;
    FREE sql_cur;
    FREE sql_stmt;
--    let res = sysbldprepare('sts.*','drop');

drop function if exists sts_get_ts_colname(lvarchar);
drop function if exists sts_get_id_coltype(lvarchar);

drop function if exists STS_Init(varchar(128));
drop function if exists STS_Init(varchar(128), interval day to second,
  datetime year to second, datetime year to second,
  interval day to second, interval day to second);

drop function if exists sts_table_exist(lvarchar);

drop function if exists sts_sp_tableindex_create(lvarchar, lvarchar);
drop function if exists sts_log_table_create(lvarchar, lvarchar);

END IF
END PROCEDURE;
EXECUTE PROCEDURE delete_sts_all();
DROP PROCEDURE delete_sts_all;

",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspmatch functions",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspmatch_2()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspmatchrelease';

IF (cnt = 0) THEN
 return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 drop function if exists DeleteIndexTable;
 drop procedure if exists TSPIndexCleanup;
 drop function if exists TSCreatePatternIndex;
 drop function if exists TSDropPatternIndex;
 drop function if exists TSPatternMatch;
 drop function if exists getPatternFromTS;
 drop function TSPMatchSetTraceLevel;
 drop function TSPMatchSetTraceFile;
 delete from informix.systraceclasses where name='TSPM_DEBUG';
 drop row type patternrow restrict;
 drop row type searchrow restrict;
 drop function if exists TSPMatchRelease;
 delete from sysbldobjects where bld_id like 'TSPMatch.%';
 delete from sysbldobjdepends where bld_id like 'TSPMatch.%';
 delete from sysbldregistered where bld_id like 'TSPMatch.%';
 delete from sysbldirequired where bld_id like 'TSPMatch.%';
 delete from sysbldiprovided where bld_id like 'TSPMatch.%';
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspmatch_2();
DROP PROCEDURE delete_tspmatch_2;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspmatch records",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspmatch_1()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;

define sql_txt1 lvarchar;
define sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;
define sp_tabname lvarchar;
define log_tabname lvarchar;
define res integer;
define cnt integer;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspmatchrelease';

IF (cnt = 0) THEN
 return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 let res = 0;
 let sql_txt1 = ""select distinct idxtabname from TS_INDEX_MAPPING"";

 PREPARE sql_stmt FROM sql_txt1;
 DECLARE sql_cur CURSOR FOR sql_stmt;
 OPEN sql_cur;

 WHILE (1 = 1)
    FETCH sql_cur INTO tabname_val;
    IF (SQLCODE != 0) THEN
       EXIT WHILE;
    END IF;

    LET sql_txt2 = ""drop table if exists "" || tabname_val;
    execute immediate sql_txt2;

    LET sql_txt2 = ""delete from TS_INDEX_MAPPING where idxtabname = "" || ""'"" || tabname_val || ""'"";
    execute immediate sql_txt2;
 END WHILE

 CLOSE sql_cur;
 FREE sql_cur;
 FREE sql_stmt;
 drop table if exists TS_INDEX_MAPPING;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspmatch_1();
DROP PROCEDURE delete_tspmatch_1;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex functions 10",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_10()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1, t2,sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 drop function TSPIndexRelease;
 delete from sysbldobjects where bld_id like 'TSPIndex.%';
 delete from sysbldobjdepends where bld_id like 'TSPIndex.%';
 delete from sysbldregistered where bld_id like 'TSPIndex.%';
 delete from sysbldirequired where bld_id like 'TSPIndex.%';
 delete from sysbldiprovided where bld_id like 'TSPIndex.%';

 let t1 = ""MBRPoint"";
 LET sql_txt = ""drop type "" || t1 || "" restrict"";
 execute immediate sql_txt;
 let t1 = ""MBRBox"";
 LET sql_txt = ""drop type "" || t1 || "" restrict"";
 execute immediate sql_txt;
 let t1 = ""MBRShape"";
 LET sql_txt = ""drop type "" || t1 || "" restrict"";
 execute immediate sql_txt;
 LET sql_txt = ""drop opclass "" || t1 || ""_ops restrict"";
 execute immediate sql_txt;

END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_10();
DROP PROCEDURE delete_tspindex_10;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex functions 9",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_9()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 delete from systraceclasses where name = 'mbr';
 drop function if exists ShapeRelease;
 drop function if exists MBRPointIn (lvarchar);
 drop function if exists MBRPointRecv (sendrecv);
 drop function if exists MBRPointImpT (impexp);
 drop function if exists MBRPointImpB (impexpbin);
 drop function if exists MBRBoxIn (lvarchar);
 drop function if exists MBRBoxRecv (sendrecv);
 drop function if exists MBRBoxImpT (impexp);
 drop function if exists MBRBoxImpB (impexpbin);
 drop function if exists MBRShapeIn (lvarchar);
 drop function if exists MBRShapeRecv (sendrecv);
 drop function if exists MBRShapeImpT (impexp);
 drop function if exists MBRShapeImpB (impexpbin);
 drop function if exists ShapeTrace (integer);
 drop function if exists MBRPoint (double precision,double precision,double precision,double precision);
 drop function if exists MBRBox (double precision,double precision,double precision,double precision,double precision,double precision,double precision,double precision);
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_9();
DROP PROCEDURE delete_tspindex_9;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 8",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_8()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRPoint"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop cast (lvarchar as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (sendrecv as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (impexp as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (impexpbin as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as lvarchar)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as sendrecv)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as impexp)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as impexpbin)"";
 execute immediate sql_txt;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_8();
DROP PROCEDURE delete_tspindex_8;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 7",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_7()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRPoint"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop function MBRPointOut ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRPointSend ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRPointExpT ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRPointExpB ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Union ("" || t1 || "","" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Inter ("" || t1 || "","" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_7();
DROP PROCEDURE delete_tspindex_7;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 6",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_6()
DEFINE nmajor,nminor,slevel,cnt integer;
define t1, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRBox"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop cast (lvarchar as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (sendrecv as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (impexp as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (impexpbin as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as lvarchar)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as sendrecv)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as impexp)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as impexpbin)"";
 execute immediate sql_txt;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_6();
DROP PROCEDURE delete_tspindex_6;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 5",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_5()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRBox"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop function MBRBoxOut ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRBoxSend ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRBoxExpT ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRBoxExpB ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Perimeter ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Union ("" || t1 || "","" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Inter ("" || t1 || "","" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_5();
DROP PROCEDURE delete_tspindex_5;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 4",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_4()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1,t2, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRShape"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop cast (lvarchar as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (sendrecv as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (impexp as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast (impexpbin as "" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as lvarchar)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as sendrecv)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as impexp)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop cast ("" || t1 || "" as impexpbin)"";
 execute immediate sql_txt;
 let t2 = ""MBRBox"";
 LET sql_txt = ""drop cast ("" || t2 || "" as "" || t1 || "")"";
 execute immediate sql_txt;
 let t2 = ""MBRPoint"";
 LET sql_txt = ""drop cast ("" || t2 || "" as "" || t1 || "")"";
 execute immediate sql_txt;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_4();
DROP PROCEDURE delete_tspindex_4;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 3",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_3()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRShape"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop function Size ("" || t1 || "",double precision)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function SFCbits ("" || t1 || "",pointer)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function ObjectLength ("" || t1 || "",pointer)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function SFCvalue ("" || t1 || "",integer,pointer)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function SetUnion ("" || t1 || "",integer,pointer)"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRShapeOut ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRShapeSend ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRShapeExpT ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRShapeExpB ("" || t1 || "")"";
 execute immediate sql_txt;
END IF;
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_3();
DROP PROCEDURE delete_tspindex_3;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 2",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_2()
DEFINE nmajor integer;
DEFINE nminor integer;
DEFINE slevel integer;
define cnt integer;
define t1, sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';

IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRShape"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop function Area ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function IsBox ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function IsPoint ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function IsCircle ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRPoint ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function MBRBox ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function ShapeType ("" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Contains ("" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Within ("" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
END IF 
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_2();
DROP PROCEDURE delete_tspindex_2;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 1",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_1()
DEFINE nmajor,nminor,slevel,cnt integer;
define t1,sql_txt lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'), 
       substr(dbinfo('version','level'), 2,1)::int 
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;

let t1 = ""MBRShape"";
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
 LET sql_txt = ""drop function Union ("" || t1 || "","" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Inter ("" || t1 || "","" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Compare ("" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Equal ("" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function NotEqual ("" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
 LET sql_txt = ""drop function Overlap ("" || t1 || "","" || t1 || "")"";
 execute immediate sql_txt;
END IF 
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_1();
DROP PROCEDURE delete_tspindex_1;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	     create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "delete tspindex 0",
	"%SYSBLDUSER%", 0,
	" ",
	"f",
	"
CREATE PROCEDURE delete_tspindex_0()
DEFINE nmajor,nminor,slevel,cnt integer;
define sql_txt,sql_txt2 lvarchar;
define tabname_val lvarchar;
define ts_tabname lvarchar;

SELECT count(*) INTO cnt FROM sysprocedures WHERE procname = 'tspindexrelease';
IF (cnt = 0) THEN
   return;
END IF;

SELECT dbinfo('version','major'), dbinfo('version','minor'),
       substr(dbinfo('version','level'), 2,1)::int
INTO nmajor, nminor, slevel
FROM systables WHERE tabid = 1;
IF ( nmajor = 12 and nminor = 10 and slevel = 4 ) THEN
let sql_txt = ""SELECT substring_index(tabname,'ts_index_', -1) FROM systables WHERE tabname matches 'ts_index*' and tabname <> 'ts_index_mapping'"";

PREPARE sql_stmt FROM sql_txt;
DECLARE sql_cur CURSOR FOR sql_stmt;
OPEN sql_cur;

WHILE (1 = 1)
    FETCH sql_cur INTO tabname_val;
    IF (SQLCODE != 0) THEN
       EXIT WHILE;
    END IF;
    let ts_tabname = ""TS_Index_"" || tabname_val;
    let sql_txt2 = ""drop table if exists "" || ts_tabname ;
    execute immediate sql_txt2;
    let sql_txt2 = ""delete from ts_index_mapping where idxtabname = "" || ""'"" || ts_tabname || ""'"";
    execute immediate sql_txt2;
END WHILE
CLOSE sql_cur;
FREE sql_cur;
FREE sql_stmt;
END IF
END PROCEDURE;
EXECUTE PROCEDURE delete_tspindex_0();
DROP PROCEDURE delete_tspindex_0;
",
	"f"
);

insert into sysbldobjects
	(bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
	    create_can_fail, drop_sql, drop_can_fail)
values
(
	"%SYSBLDNAME%", 0, "sysbldregistered",
	"%SYSBLDUSER%", 0,
	"insert into sysbldregistered
	(bld_id)
values
(
	""%SYSBLDNAME%""
);

",
	"f",
	"delete from sysbldregistered
	where bld_id = ""%SYSBLDNAME%"";

",
	"f"
);

