Hello All,
Is there a function in SPL that works similar to sleep?
I used system ('sleep 5') , sysmaster:yieldn(), sysadmin:yieldn() functions, etc, but it doesn't seem to work in milisecond units. Because it is an AIX environment, usleep or nsleep cannot be used.
Any ideas?
drop procedure myproc;
create procedure myproc()
insert into tmp1 select dbinfo('utc_to_datetime',sh_curtime) from sysmaster:sysshmvals;
select sysmaster:yieldn(0.01) y from sysmaster:sysdual into temp ifxtmp1 with no log;
insert into tmp1 select dbinfo('utc_to_datetime',sh_curtime) from sysmaster:sysshmvals;
drop table ifxtmp1;
end procedure;
------------------------------
SangGyu Jeong
Software Engineer
Infrasoft
Seoul Korea, Republic of
------------------------------
#Informix