Defining loop check profiles to quiesce the looping IMS region
Use the following procedure to define a loop check profile to quiesce the looping IMS region.
This profile creates an alarm that detects an IMS looping region where a STOP REGION ABDUMP is in progress, but has not completed. Additionally, the alarm determines that the region is in a U0113 window. Because issuing a STOP REGION ABDUMP command in this state would cause a U0113 ABEND, the RESET option is recommended and available to be activated.
To define a loop check profile to quiesce the looping IMS region
- From the IMS SSI Easy Menu (EZISSI), select IMS Easy Admin Menu.
- From the Administration view (EZIADMIN), select Solution Profiles.
- From the list of profiles for looping dependent regions, select Issue MSG and/or RESET Service Class or CANCEL.
The ILPCKPLC view is displayed as shown in the following figure: On the COMMAND line, type ADD and press Enter.
The Loop Check Criteria Profile displays as shown in the following figure:
-------------------- Loop Check Criteria Profile - Add -------------------
COMMAND ===> SCROLL ===> CSR
MORE:+
WTO and/or RESET or CANCEL if in U0113 window
Profile Identity
Profile Name:
Profile Desc:
Loop Criteria
Elapsed Transaction CPU Trigger..: (hh:mm:ss)
Current CPU Usage Percent Trigger: 95 (0-100) percent
I/O Rate per sec....: (0-9999) operand (= or >=)
DL/I Rate per sec...: (0-9999) operand (= or >=)
SQL Rate per sec....: (0-9999) operand (= or >=)
IMS Jobname: (Specific or generic)
IMS Application Region Job Names
Include:
Exclude:
Region Types (see help for types)
Include:
Exclude:
Transaction Names
Include:
Exclude:
LTERM Names
Include:
Exclude:
Program Names
Include:
Exclude:
Action(s)
WTO....: (Y -Yes)
-RESET is recommended, since CANCEL from this alarm
-will stop IMS with a U0113 ABEND
RESET WLM service class: (Specify lowest WLM service class)
IMS STOP RGN CANCEL: (Y -Yes, See help for U0113 warning)
-Do not use CANCEL unless IMSID or CRC is unique!
IMS Command prefix type: (I -IMSID(default) or C -CRC)
Show Alarm Parameters: (Y -for debugging purposes)
END to exit and save changes
CANcel to exit without saving changes
HELP to view related help- Specify the profile's name, description (optional), and criteria:
- At Profile Name, enter a unique alphanumeric name for the profile, up to 12 characters, starting with an alphabetic or national character.
- (optional) At Profile Desc, enter a short description of the profile.
At Loop Criteria, define the criteria that must be met to trigger the alarm:
Loop Criteria
Description
Elapsed Transaction CPU Trigger
Identifies the minimum amount of transaction CPU usage time that a region must accumulate to be considered as a looping candidate
The value you specify must be in hh:mm:ss format. The time you specify applies to the currently active transactions, not total transaction CPU usage time for the region.Current CPU Usage Percent Trigger
Identifies the minimum CPU percentage that a region must be consuming to be considered a looping candidate
Valid values are integer values from 0 through 100.I/O Rate per sec
Identifies the minimum DL/I I/O rate per second that a region must achieve to be considered a looping candidate
Valid values are integer values from 0 through 9999.DL/I Rate per sec
Identifies the minimum DL/I call rate per second that a region must be doing to be considered a looping candidate
Valid values are integer values from 0 through 9999.SQL Rate per sec
Identifies the minimum SQL call rate per second that a region must be doing to be considered a looping candidate
Valid values are integer values from 0 through 9999.
- At IMS Jobname, specify the IMS job name for this profile.
- Under IMS Application Region Job Names, specify jobs to which this profile should or should not apply:
- At Include, enter up to five IMS application region job names to which this profile applies.
At Exclude, enter up to five IMS application region job names to which this profile does not apply.
- Under Region Types, specify the region types that identify jobs to which this profile should or should not apply:
- At Include, enter up to four region types to which this profile applies.
At Exclude, enter up to four region types to which this profile does not apply.
- Under Transaction Names, specify up to five IMS transaction names that identify jobs to which this profile should or should not apply:
- At Include, enter up to five transaction names to which this profile applies.
At Exclude, enter up to five transaction names to which this profile does not apply.
- Under LTERM Names, specify up to four IMS LTERM names that identify jobs to which this profile should or should not apply:
- At Include, enter up to four IMS LTERM names to which this profile applies.
At Exclude, enter up to four IMS LTERM names to which this profile does not apply.
- Under Program Names, specify up to five IMS program names that identify jobs to which this profile should or should not apply:
- At Include, enter up to four IMS LTERM names to which this profile applies.
At Exclude, enter up to four IMS LTERM names to which this profile does not apply.
- At Action(s), perform any of the following specifications:
(optional) At WTO, specify Y if you want the alarm to write a WTO to the system console when a job matches all of the criteria in this profile.
The WTO can be used by operations to take action or can be used by an automation product such as MainView AutoOPERATOR to take automated action on the job.
(optional) At RESET WLM service class, specify a WLM service class name that provides the lowest possible level of service.
By specifying a WLM service class, you can quiesce the looping region when the alarm is triggered. The region remains in an ABDUMP in progress status until you stop IMS or otherwise cancel the region.
(optional) At IMS STOP RGN CANCEL, specify Y if you want to have IMS issue a STOP REGION CANCEL command when a job matches all the criteria in this profile and a STOP REGION ABDUMP command is in progress.
The alarm will not trigger if the STOP REGION ABDUMP command completes within 15 to 30 seconds, or region is not in a U0113 window.
(optional) At IMS Command prefix type, specify whether the command is prefixed by the IMS ID or the CRC.
By default the IMS ID will be used. You should choose whichever option ensures that the command will be processed only by the IMS associated with the job that triggers the alarm.
At the COMMAND line, type END to save the profile.
Saving the profile automatically enables it. You do not need to manually enable the profile. MainView for DBCTL creates an alarm based on the profile and based on a default alarm definition. Now, whenever a job meets all of the profile's criteria, MainView for DBCTL will take any actions defined in the profile and will generate an alert.
Related topic