> I have an application that is using latches. In general it appears > to be working fine. The latch set is kept in an LE C global > variable in a subroutine that is used to manage the locking > functions. At some point in the code I rebuild a bunch of my data > structures and (not the first after I rebuild the data structures) a > following ISGLOBT fails with a S0D6 RC=27. After I rebuild the data > structures I reattempt the ISGLCRT which gets an RC=4. I then call > lSGLPRG in case there are any left over latches from the previous > execution. The ISGLPRG gets a return code 0. > > The Obtain Latch that fails is for a latch that has been obtained > and released several times since the recreation of the data structures. > > I don't see how my managing of my other data structures has affected > the the PC number used by the code underlying the ISGLOBT. And why > is the PC number good for several obtain and release cycles and then > suddenly fails?
Look at the system trace in the dump of your 0D6 abend. Which module is issuing the failing PC? What is the failing PC number? What PC number was used for the successful ISGLOBT calls? Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN