Hi all,
        I have the following piece of code running on many SRBs to give 
serialisation.
                                             
         SETLOCK  OBTAIN,           
               TYPE=CML,ASCB=(11),  PRIMARY ADDRESS SPACE     
               MODE=UNCOND,                                         
               REGS=USE,    
               RELATED=(*(SERSTLRL))        

The fine manual states under MODE=UCOND - 

"The system does not permit an unconditional OBTAIN request for a CML lock if 
the lock is held by a unit of work that is set nondispatchable."

What does "does not permit" mean in this situation? Does it abend the SRB, give 
a bad return code to the macro, or what?

Ron.                             

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to