Author |
Message
|
pfarrel |
Posted: Thu Oct 13, 2005 11:18 am Post subject: MQ Message Accounting in CICS |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
I have WBIMB running on AIX. Clients send messages into the Broker which cause flows to run. Sometimes, a flow needs to send a message to CICS on a mainframe. I have this running successfully, but I need a way of accounting for the mainframe CICS usage by application group.
I would like to be able to put an application name into the CICS message ( perhaps into the MD or CIH header ), and have the information appear in the CICS SMF type 110 accounting record on the mainframe. This would allow me to suumerize CICS usage by application.
I am already overriding the CICS tran by supplying the MQCIH_TRANSACTIONID field. However different applications use the same tran code.
Any ideas ? |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 13, 2005 3:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
So whats the issue here? Is this CICS program used by non-MQ (broker) applications as well and you need to be able to differentiate the broker's usage?
Are you starting transactions or doing DPL links with the bridge? _________________ -wayne |
|
Back to top |
|
 |
pfarrel |
Posted: Fri Oct 14, 2005 3:50 am Post subject: |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
I have multiple applications in my Broker, which use the same set of CICS transactions. I want to be able to tell for each transaction that comes into CICS, which application drove it there. By measuring this data over time I can them tell how the growth of individual applications is affecting mainframe usage. ( i.e. which application is responsible for the growth of usage in the mainframe ). |
|
Back to top |
|
 |
pfarrel |
Posted: Fri Oct 14, 2005 3:54 am Post subject: |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
As a further update, I am sending transactions into the mainframe using the CICS DPL bridge. That means that the data going into the mainframe consists of an MD, followed by a CIH header, followed by the data. The first 8 bytes of the data contain the name of the CICS program to be run ( by convention, this is the way the DPL bridge works ), followed by a copy of the COMM area used by the CICS program. I am already updating the CIH header in the Broker flow, to indicate the tran code name that CICS will report on. |
|
Back to top |
|
 |
nathanw |
Posted: Fri Oct 14, 2005 3:57 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
Can you not just set the data you required into a field in the MQMD that can be updated and use the reportinh function based on that?
eg setting the application ID with the driver behind it and using SetAll on the output node? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 14, 2005 4:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Like, perhaps, the not so famous AccountingToken field? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
pfarrel |
Posted: Fri Oct 14, 2005 4:51 am Post subject: |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
I can indeed update the MD, and put the application name into the Accounting Token field. I'm not sure however, how I get the information placed into the CICS SMF type 110 accounting record. Does this require some kind of exit in CICS that I have to write ?
Thanks. |
|
Back to top |
|
 |
|