Re: Microfocus Cobol "SLEEP" routine
- From: "Steve Rainbird" <news.nospam@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 13:52:38 +0100
"C C" <someone@xxxxxxxxxxxxxxx> wrote in message
news:yAh2i.4627$UU.2661@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.
Not that I know of.
I use
call "system" using ws-sleep-call
Where ws-sleep-call is defined as
01 ws-mss-sleep-call.
03 pic x(6) value "sleep ".
03 ws-mss-sleep pic 9(15).999.
03 pic x value x"00".
Works for me.
--
Steve
.
- Follow-Ups:
- Re: Microfocus Cobol "SLEEP" routine
- From: C C
- Re: Microfocus Cobol "SLEEP" routine
- References:
- Microfocus Cobol "SLEEP" routine
- From: C C
- Microfocus Cobol "SLEEP" routine
- Prev by Date: Microfocus Cobol "SLEEP" routine
- Next by Date: Re: Microfocus Cobol "SLEEP" routine
- Previous by thread: Microfocus Cobol "SLEEP" routine
- Next by thread: Re: Microfocus Cobol "SLEEP" routine
- Index(es):
Relevant Pages
|
|