IBM Z and LinuxONE Software

Software

Software

In order to compete you have to be trusted. System software delivers high-performing system and database management, faster insights, secure cloud and agile DevOps, plus the reliability, flexibility and protection you expect from the mainframe.

 View Only
  • 1.  Terminating tasks with Cicsplex SM

    Posted Wed October 30, 2019 03:09 PM
    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
    ------------------------------


  • 2.  RE: Terminating tasks with Cicsplex SM

    Posted Fri January 10, 2020 09:04 AM
    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.html

    Kind Regards, David
    CICSPlex SM L3

    ------------------------------
    David Knibb
    ------------------------------