Relating DB2 accounting records to CICS performance class records

To see a complete picture of the usage of resources by each CICS® transaction in both the CICS and DB2® address spaces, you must match up the data in the DB2 accounting records with the data in the CICS performance class records.

About this task

When you have a complete picture of resource usage, you can analyze the resources used by individual transactions, and also charge back to the user the total amount of resources consumed for a given set of transactions, using whatever data types you have decided to include in your cost formula.

If you are examining resource usage because you are carrying out performance analysis, rather than accounting, then you always need to match up the DB2 accounting records and the CICS performance class records. However, if you are examining resource usage for accounting purposes, you might not need to match up the DB2 accounting records and the CICS performance class records.

You do not need to match up the records if you have chosen to use processor time consumption as the basis for your accounting, and you are not using DB2 sysplex query parallelism (parallel query). In this situation, when parallel query is not used, the processor time consumed in DB2 is reported by the CICS performance class records as well as by the DB2 accounting records, so the CICS performance class record for a transaction gives you all the information on processor time that you need to charge the resources for that transaction back to the user. If you are in this situation, skip the rest of this section, and instead read the sections Accounting for processor usage in a CICS DB2 environment (to understand how processor time consumption is reported), and Calculating CICS and DB2 processor times for DB2 (to find out how to use the information on processor time that is available to you).

If you have chosen to use data as well as, or other than, processor time consumption as the basis for your accounting, read the related concepts to this section to find out how to match up the DB2 accounting records and the CICS performance class records. If you are using processor time consumption for your accounting, you can then read the section Accounting for processor usage in a CICS DB2 environment to find out how to calculate your processor time consumption using your matched-up DB2 accounting records and CICS performance class records.