Kevin Corkery wrote: "I'll suspect that VSAM is very aware of the state of the shared environment and uses the minimally invasive lock type; high volume, high payback.".
Well, it seems that your suspicion is quite incorrect.
I tried to do a massive delete of files in one shared catalog that controlled 48 volumes. Deleting a file in such situation caused a huge number of EXCPs and that delete job run more than 15 minutes.
During this time VSAM locked any VSAM open/close processing across the board on any VSAM file, specifically those that are defined in totally different catalogs.
This caused eventually a stall in all CICSs that run in another shared VSE images under z/VM, none of them had any file defined in the above mentioned catalog, with the message that VSYSOPEN is locked in another system. I had to cancel the delete job.
I opened a PMR about that.
Avihu Gershoni
Mainframe System Department Manager
Hilan Limited
8 Meitav Street
Tel Aviv
Israel
Interesting. Could be the same problem with IDCAMS delete processing. I can’t believe that normal VSAM access locking would have this much overhead on an unshared file and go unnoticed.