On Mon, 27 Jun 2011 08:13:42 -0500 Walt Farrell <[email protected]> wrote:
:>On Sat, 25 Jun 2011 22:28:07 +0300, Binyamin Dissen :><[email protected]> wrote: :>>On Fri, 24 Jun 2011 10:48:14 -0500 Walt Farrell <[email protected]> wrote: :>>:>On Fri, 24 Jun 2011 15:32:19 +0300, Binyamin Dissen :>>:><[email protected]> wrote: :>>:>>After the GETSHARED I do a :>>:>> IARV64 REQUEST=SHAREMEMOBJ, :>>:>> USERTKN=ORIGIN, :>>:>> RANGLIST=@RANGLIST, :>>:>> ALETVALUE=0, :>>:>> COND=NO, :>>:>> MF=(E,OIARV64,COMPLETE) :>>:>>setting the USERTKN to the base address of the block. :>>:>I'm not sure you're setting your USERTKN field (ORIGIN) as the book :>>:>suggests. It says the token should be something unique to the :>>:>caller/request, and I don't see that the address of the block is necessarily :>>:>unique in the way the book suggests. :>>The address of the 64 bit shared block is quite unique. :>True, but do you ever have more than one requestor getting the same block? :>If so, I think they need different USERTKN values on the SHAREMEMOBJ call or :>the first one that deletes its interest in the block will also delete the :>other user's interest. And then the second delete will fail. And since :>you're seeing a delete fail... What I ended up doing was generating a unique value for each GETSHARED so that I can individually do a DETACH AFFINITY=SYSTEM. Each SHAREMEMOBJ (each in a different address space) uses the exact same token, the block address, with no problem. I wanted to use the same value for each GETSHARED so that they can be easily DETACHed in an ESTAEX/RESMGR, but that appears to be unnecessary. -- 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

