CICPDH Daily CICS Workload Ranking
The Daily CICS Workload Ranking inquiry produces a printer graph which identifies the top 10 CICS application in transaction volume.
micsrm140
Report format
This inquiry produces a horizontal bar chart which shows the 10 applications with the highest workload. A sample output of this inquiry is shown in the following section.
Inquiry ID
CICPDH (printer graphic format)
Data source (file/timespan)
CICCAU01 in the DAYS timespan.
If the CICCAU (CICS Application Unit Activity) file is not active, the CICCSU (CICS User Activity) file is used for reporting. The variable CICACT2 is used in place of the variable CICAPU.
One graph is produced for each date and each combination of SYSID/CICSID.
Data elements used
- CICAPU
- - CICS Application Unit ID
- CICSID
- - CICS System Identifier
- CAUTRANS
- - Transactions Processed
- CAUSTRN
- - Short Transactions Processed
- CAUMTRN
- - Medium Transactions Processed
- CAULTRN
- - Long Transactions Processed
- CAUCTRN
- - Conv. Transactions Processed
- DAY
- - Day of Month
- MONTH
- - Month of Year
- YEAR
- - Year of Century
- ZONE
- - Time Zone
- SYSID
- - System Identifier
Calculations
None
Execution-time parameters
UNIT
Select one or more
MICS database
units by entering the data base IDs. Enter multiple IDs with a blank following each ID value.CYCLE
(Optional) Define
MICS
input file cycle range.
For this inquiry, the default is the 01 cycle.
SYSID
(Optional) Specify the SYSID to be reported. If no value is specified, the value *ALL is used. It causes all SYSIDs found in input to be summarized together.
CICSID
(Optional) Specify the CICSID to be reported. If no value is specified, the value *ALL is used. It causes all CICSIDs found in input to be summarized together.
CENTER
(Optional) Specify the CENTER to be reported. If no value is specified, the value *ALL is used. It causes all CENTERs found in input to be summarized together. CENTER is a logical grouping of SYSIDs which you assign in the global exit %GCNTR. If this exit is not defined, CENTER is set to the value of SYSID.
DATE
(Optional) Enter the date to be reported in ddmmmyy format.
For this inquiry, the default is yesterday.
ZONE
(Optional) Select one or more
MICS
time zones. Valid values are numbers 1 through 9.TRAN
(Optional) Select the type of transaction to be ranked. The response types are TOTAL, SHORT, MED, LONG, or CONV. The default is TOTAL.
FILE ID
(Optional) Select the CICCSU file as input when the CICCAU file is active. If you specify this parameter, also specify the next parameter to indicate which account code (CICACT1-CICACT9) identifies your CICS application.
CICAPU
(Optional) Replace CICAPU with any of the CICACTx data elements, where x is 1 to 9. This parameter must be specified along with FILE ID.
User exits
If the MICF execution-time parameters are insufficient to select the data you need, you can invoke one of the following global exits to further manipulate the input file. Additionally, you can override the global exit definitions in MICF using independent source statements. For details about coding the exits, see the Changing the Report Parameters section.
The global exits are defined by macros in the source module CICRPTGL in sharedprefix.MICS.SOURCE. The following exits are available to this inquiry:
- %GAPPL
- Define your CICS application based on any variable in the input file. The default is CICAPU.
- %GCIC
- Select CICSIDs for report.
- %GCNTR
- Assign value to the variable CENTER which defines the logical grouping of SYSIDs. CENTER is set to SYSID by default.
- %GSYS
- Select SYSIDs for report.
In addition to the listed exits, the module CICRPTGL also contains macro variables which set default values for service level objectives. See the Changing the Report Parameters section to override the default values.
Daily CICS Workload Ranking Sample Output
DAILY CICS WORKLOAD RANKING your_company_name FOR: SEPTEMBER 5, 2014 INQUIRY: CICPDH RUN DATE: 06SEP14 SYSID=*ALL CICS REGION=*ALL BAR CHART OF TOTAL APPL APPLICATIONS WITH HIGHEST TOTAL TRANS TOTAL | TOSC |********************************************************************* 344062.0 | TOS1 |** 8580.0 | PF3 |* 6806.0 | MSA2 |* 3240.0 | TOSS |* 2558.0 | PF15 | 773.0 | XSPE | 198.0 | MSAS | 69.0 | SA | 39.0 | STAR | 21.0 | --------+-------+-------+-------+-------+-------+-------+-------+----- 40000 80000 120000 160000 200000 240000 280000 320000 TOTAL TRANSACTIONS