We are introducing latches into an application on z/OS 1.13 and have 
encountered behavior that does not match our interpretation of the 
documentation.

In the z/OS MVS Programming: Authorized Assembler Services Guide the 
description of the latch purge service states that latch purge "purges all 
granted and pending requests". From this our understanding is that latch purge 
acts as a general latch release and we expect that if we have a set of waiters 
for a latch and purge the latch set that the waiters would have their latches 
released and resume execution.

If we have a set of processes with a latch owner and a set of waiters and we 
iterate over the set and issue ISGLREL for each process as it has ownership the 
processes will resume execution.

However when we issue latch purge it completes rc 0 and the D GRS,LATCH display 
shows no latch contention but the RBs for the latch waiters remain paused and 
the processes do not resume execution. This occurs for both ISGLPRG and ISGLBPA.

At this point we are not sure if the latch purge behavior is a defect or if the 
actual behavior is different from our interpretation of the documentation.

Michael Cittadino
CA Technologies

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

Reply via email to