Matching on TCB address alone may not be good enough.  You should
probably check the ASID as well.  Better yet, match on DOMID as someone
else suggested.  You should also serialize your use of the OREs.  TFM says
CMS and LOCAL locks should be held.

As others have also mentioned, if you have control of the code, there
are better ways of communicating between address spaces than by using
operator interfaces like WTOR, MODIFY and REPLY.


At 2005-12-29 18:06, Steve Arnett wrote:
Thanks for the replies...Bottom line was to chase the ORE.  Code looks
something like this:

*
        LA    R8,0                  GET PSA ADDRESS
        L     R8,16(,R8)            GET CVT ADDRESS
        L     R8,100(,R8)           GET UCM ADDRESS
        L     R9,28(,R8)            GET FIRST ORE
        MODESET KEY=ZERO               * KEY ZERO/SUPERVISOR STATE
ORELP    C     R4,8(R9)              COMPARE TCB ADDRESS
        BE    FNDORE                YES, THIS IS OUR ORE
        CLC   0(4,R9),=F'0'         CHECK FOR ZERO LINK POINTER
        BE    NFDORE                YES, BYPASS COMMAND
        L     R9,0(,R9)             GET NEXT ORE
        B     ORELP                 TEST IT
FNDORE   DS    0H                    *
*
*
*
NFDORE DS      0H
       MODESET KEY=NZERO

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