10-16-2008 8:22 AM
Hi all,
I need to specify waiting time less than 1 second. How to do that ?. Wait until is not accepting fraction number.
Regards,
Venkat
10-16-2008 8:24 AM
10-16-2008 8:24 AM
10-16-2008 8:26 AM
Hello,
The statement WAIT causes a change in the work process, which is linked to rolling out and rolling in all loaded programs. For this reason, the time in sec should not be less than a second in order not to load the system with too frequent changing of the work process.
So you can not specify a fraction value here .
Regards,
Sandeep
10-16-2008 8:32 AM
Hello i think it is not possible.
You can use just COMMIT WORK AND WAIT it will take less then 1 second only i think.
or try with this statement. WAIT UP TO 1 SECONDS.
10-16-2008 9:02 AM
Thank you all,
COMMIT WORK AND WAIT was not helpful in my case, may be the waiting time was not adquate. As waiting time is not Known we could not estimate the minimum time required.
WAIT UP TO 1 SECONDS. This is what I am using currently. I wanted to know if there is any possibility to reduce the wating time below 1 second and at the same time ensuring completion of previous commit work.
Thanks once again.
Venkat
10-16-2008 9:11 AM
it works, just give it a try:
DATA : sec TYPE p DECIMALS 2 VALUE '0.5'.
WAIT UP TO sec SECONDS.