Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Specification fraction of second for wait

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Venkat,

I think its not possible.

regards

kiran

5 REPLIES 5

Former Member
0 Kudos

Hi Venkat,

I think its not possible.

regards

kiran

Sandeep_Kumar
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

JozsefSzikszai
Active Contributor

it works, just give it a try:

DATA : sec TYPE p DECIMALS 2 VALUE '0.5'.
WAIT UP TO sec SECONDS.