A PC routine in SS mode is doing an IARV64 GETSHARED

             IARV64 REQUEST=GETSHARED,                          
               COND=YES,                                    
               SEGMENTS=SEGMENTS,                           
               FPROT=NO,                                    
               USERTKN=PRIV_USERTKN,                        
               ORIGIN=ORIGIN,                               
               MF=(E,OIARV64,COMPLETE)                      

PRIV_USERTKN has a fixed value so that a single 

         IARV64 REQUEST=DETACH,                                      
               MATCH=USERTOKEN,                                      
               USERTKN=PRIV_USERTKN,                                 
               AFFINITY=SYSTEM,      
               MF=(E,OIARV64,COMPLETE)

can discard all of them.

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.

No problem accessing and sharing the storage.  

Then when the PC-SS tries to DETACH 

          IARV64 REQUEST=DETACH,                                    
                MATCH=USERTOKEN,                                    
                USERTKN=ORIGIN,                                     
                AFFINITY=SYSTEM,                                    
                MF=(E,OIARV64,COMPLETE)

I am getting SDC2-4F003B21

   003B -  No memory objects were found for the specified user token.

What might I be doing wrong?

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