THREAD DOING AUTOBIND MAY HANG AFTER CANCELLED
THREAD DOING AUTOBIND MAY HANG IN DSNTABA AFTER BEING CANCELLED
An agent may become hung in CSECT DSNTABA if a -CANCEL THREAD command is issued for that agent while it was holding an IRLM lock.This also could impact a release migration.
-CANCEL THREAD command is issued for an agent that is holding a SKPT p-lock, EDM abort processing will save that SKPT p-lock on a global EDM chain to be cleaned up during IRLM synchronization that occurs during general agent abort/deallocation processing. Any new agent that requires the same SKPT p-lock may also try to purge SKPT p-locks on the global EDM chain that are leftover from previous threads.
Solution is to remove the race condition by having EDM cancel processing use an agent specific chain to save those SKPT p-locks that need to be freed during the abort/deallocation process.