Hi Esteban,
CICSPlex SM RTA provides a polling mechanism, where a particular state can be checked for every period. So, for example, with RTA you could check once per minute to see if any currently executing task has exceeded a permitted limit for storage usage. That's probably not what you want though, because it won't catch any tasks which exceed your storage limit but execute between polling intervals.
To achieve what you want, the best solution is to look into CICS Policy. Using Policy you can create a rules for tasks. These rules define the action to take when an individual task crosses a particular threshold (such as allocating too much storage). This gives you the ability to cause an abend in any task which exceeds your storage allocation rule.
See here:
https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.3.0/com.ibm.cics.ts.productoverview.doc/concepts/policy-task-rules.htmlKind Regards, David
CICSPlex SM L3
------------------------------
David Knibb
------------------------------
Original Message:
Sent: Wed October 30, 2019 02:22 PM
From: Esteban Nicolini
Subject: Terminating tasks with Cicsplex SM
I need to know if I can purge a Cics transaction with RTA resource monitor in a Cicsplex SM, when it uses too much storage or CPU. I am working with release 5.3. I tried to detect amount of storage used by tasks evaluating field PSTGHWM. Is there any publication to work with RTA resource monitoring?
------------------------------
Esteban Nicolini
------------------------------