Re: Microfocus Cobol "SLEEP" routine



On 15 Mai, 14:20, "C C" <some...@xxxxxxxxxxxxxxx> wrote:
Hello.

Is there a way in MF Cobol to pause program execution (sleep) for, let's
say, 5 minutes??? My workaround is to call the AIX command "sleep 300". I
need a routine in Cobol itself so I may vary the time to pause in some
programs.

Thanks in advance.

Hello,

I don't know a commando for sleep.

Either you write a loop with perform varying... or you use a loop with
checking out the time while it is looping.
But in both solutions the program/machine is (very) busy and not
sleeping!

Thomas

.



Relevant Pages

  • Re: Microfocus Cobol "SLEEP" routine
    ... Is there a way in MF Cobol to pause program execution (sleep) for, ... My workaround is to call the AIX command "sleep ...
    (comp.lang.cobol)
  • Re: Microfocus Cobol "SLEEP" routine
    ... CALL 'sleep' USING BY VALUE 300. ... Is there a way in MF Cobol to pause program execution for, ... I need a routine in Cobol itself so I may vary the time to pause in some ...
    (comp.lang.cobol)
  • Re: Microfocus Cobol "SLEEP" routine
    ... Is there a way in MF Cobol to pause program execution for, ... My workaround is to call the AIX command "sleep 300". ...
    (comp.lang.cobol)
  • Re: Microfocus Cobol "SLEEP" routine
    ... Is there a way in MF Cobol to pause program execution (sleep) for, ... I need a routine in Cobol itself so I may vary the time to pause in some ...
    (comp.lang.cobol)
  • Re: How to let a COBOL program sleep 5 seconds
    ... COBOL does not include a "sleep" function up to and including COBOL-85. ... have to change the environment or "sleep" routine. ... Notice that in the worst case scenario the system dependent "sleep" ...
    (comp.lang.cobol)

Quantcast