pleas learn to describe properly Your issues ...
... CICS transaction is in Disabled state due to which the tso session always hangs
if a transaction is disabled it will never be executed,
hence it
(that transaction) will never be able to interfere
(hang - whatever it means) with a TSO session
For a quick response we purge all those task which are running under loop
how does a loop relate to a disabled transaction,
if a task is looping there are certainly issues with the program logic...
FIX ITBut this is happening frequently due to which the tso session is impacted to a great extent
a proper system setup will not let unrelated <tasks> ( CICS transaction, TSO users ) interfere with each other
let' s hope that the system is not setup in the same way You asked Your question!