On Sun, 18 Mar 2018 09:10:26 -0400 Joe Reichman <[email protected]> wrote:

:>There is an example of using bypassing post routine in the Authorized 
Assembler guide

:>eliminate the requirement to use the CS instruction. Figure 1 demonstrates an 
example of how to quick post an ECB. 
:>Figure 1. Bypassing the POST Routine
:>        L  RX,ECB          Get contents of ECB.
:>        N  RX,=X'3FFFFFFF' Turn off wait and post bits
:>        L  RY,=X'40000000' Post bit and post code
:>        CS RX,RY,ECB       Compare and swap to post ECB
:>        BZ POSTDONE        Branch if CS is successful
:>        LTR RX,RX          Wait bit on?
:>        BM DOPOST          If yes, then execute POST
:>        N  RX,=X'40000000' Is ECB posted?
:>        BNZ POSTDONE       If yes, do not execute POST
:>DOPOST  POST ECB
:>POSTDONE EQU  *

:>I am actually trying to do a XMEM post is this recommend as the other address 
space might be swapped out ? thanks

If ECB in CSA, no problem.

If in private and you do not have guaranteed addressability to the target
address space (it being non-swapable), best to use the XMEM post and not try
to get addressability - that is not for even relatively advanced programmers
and doubt it would save you much.

Also, remember if posting to a different address space you must use the ASCB
form - which requires storage if not using BRANCH=YES.

--
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: INFO IBM-MAIN

Reply via email to