Scenario B: Several transactions in each DB2 accounting record, but each transaction type has its own transaction ID

In this scenario, each DB2 accounting record can contain information relating to more than one transaction, so you cannot match each DB2 accounting record directly to the relevant CICS performance record. However, you can identify the types of transaction that are present in the DB2 accounting record, because each transaction ID only refers to one type of transaction.

If only one type of CICS transaction is present in a particular DB2 accounting record, then for accounting purposes, the resources consumed in DB2 can be split equally between each transaction. This is reasonable, because the transactions are (by definition) almost identical. The number of commits and backouts in the DB2 accounting record indicates the number of units of work covered in this record. However, as noted in Controlling the relationship between DB2 accounting records and CICS performance class records, units of work in the same transaction might use a different thread, and so not be present in the same DB2 accounting record. Make sure that you have assigned all the relevant DB2 resources to each transaction; this can involve examining more than one DB2 accounting record.

If two or more different types of CICS transaction are present in a particular DB2 accounting record (because they use the same DB2ENTRY and hence the same thread), you cannot use the method of distributing the resources equally, because the different types of transaction might use different resources. In this case, you can create model transactions by periodically measuring the amount of DB2 resources used by each type of CICS transaction. Take these measurements by temporarily disallowing thread reuse, and looking at the resulting DB2 accounting records, which contains information relating to only one transaction. Use these model transactions to charge back the resources to the user. You should periodically validate the correctness of the model transactions.



dfhtkc0081.html | Timestamp icon Last updated: Sunday, 4 June 2017