Re: Microfocus Cobol "SLEEP" routine



Thanks. That's what I'm doing right now. I just want to avoid having to
call "system". In AIX, a new-line is output by the system thus online
sessions experience a shift on their screen. This behavior still occurs
even if my call "system" script re-directs output to /dev/null.


"Steve Rainbird" <news.nospam@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5atoomF2qeibjU1@xxxxxxxxxxxxxxxxxxxxx
"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





.



Relevant Pages

  • 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: AIX ASSIGN problems
    ... >We're trying to compile and run our first COBOL programs on AIX (we've ... It would help if you told us which COBOL brand and version you are ... >We verify the environmental variables are accurately set up by executing ...
    (comp.lang.cobol)
  • Re: Cobol set for AIX - secuential files - DDMEA
    ... > I have a problem with Cobol and secuential files when migrating from ... > MVS to AIX. ... > original .ddmea file with the name of sorted file and all work fine ...
    (comp.lang.cobol)
  • Re: AIX COBOL set 1.1 using UDB - help on compilation
    ... > to AIX cobol set 1.1 with UDB as the database in AIX. ... > The copybook has a host variable. ... precompiler says, it's undefined. ...
    (comp.lang.cobol)
  • Re: Folder watching an AIX network share...
    ... that you implement on the .Net side and that you call on the AIX side. ... > I have been asked to interface with an AIX system running a COBOL ... > a drive to communicate between the two systems. ...
    (microsoft.public.dotnet.languages.vb)