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?

Does anyone have any ideas?

Janet

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to