Skip to Content
author's profile photo
Former Member

Specification fraction of second for wait

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Oct 16, 2008 at 07:24 AM

    Hi Venkat,

    I think its not possible.

    regards

    kiran

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 16, 2008 at 07: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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Oct 16, 2008 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Oct 16, 2008 at 08:11 AM

    it works, just give it a try:

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

    Add comment
    10|10000 characters needed characters exceeded