> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Steve Arnett
> Sent: Friday, December 30, 2005 12:47 PM
> To: [email protected]
> Subject: Re: Capturing a reply id from a WTOR
> 
> 
> The WTOR is issued so that my "other" address space has a 
> hook to notify 
> the originator that the function is complete.  In this case, an HSM 
> recall issued to another LPAR.  The originator is a front end 
> to the HSM 
> communications SVC.
> 

Steve,

Just found another possibility that sounds like it was designed
especially for what you want to do:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2A860/4.11

<quote>
 Pause, Release, and Transfer (IEAVPSE, IEAVRLS, and IEAVXFR) are
callable services that enable you to synchronize task or SRB processing
with minimal overhead. If you have, for example, an application that
requires two tasks to trade control back and forth, these services
provide efficient transfers of control.

These services, which are available to both unauthorized and authorized
callers in Assembler as well as C or C++, use a system-managed object
called a pause element to synchronize processing of tasks or SRBs. The
services provide the following functions:

    * Pause the current task or SRB (Pause service - IEAVPSE)

    * Release a paused task or SRB (Release service - IEAVRLS)

    * Simultaneously release a paused task or SRB and pass control to it
(Transfer service - IEAVXFR)

    * Simultaneously release one paused task or SRB and pause the
current workunit (Transfer service - IEAVXFR)
</quote>

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
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