On Wed, 28 Sep 2005 07:26:50 -0600 Paul Gilmartin <[EMAIL PROTECTED]>
wrote:

:>In a recent note, WA Stout said:

:>> Date:         Wed, 28 Sep 2005 09:16:19 -0400
 
:>> Is there a callable routine under z/OS that can perform some type of wait
:>> based on a supplied time period (for example, wait fifteen seconds or 1 CPU
:>> second)?  This would like to be called from Cobol.  Any help would be
:>> appreciated.  Thanks!
 
:>Don't know about COBOL.  In assembler, there's BPX1SLP; in C, sleep();
:>in Rexx, "address SYSCALL sleep"; etc.

:>In principle, waiting for 1 CPU second could take a l-o-n-g elapsed
:>external time.

I don't believe that there is an MVS service to wait for 1 cpu second.

There is a service to allow notification after a task uses one CPU second,
but, if you wait on that ECB you are unlikely to ever wake up unless you have
IRB's scheduled.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to