View previous topic :: View next topic |
Author |
Message |
umesh mishra Beginner
Joined: 02 Jul 2003 Posts: 1 Topics: 1
|
Posted: Wed Jul 02, 2003 1:02 am Post subject: CPU time taken to process a CICS transaction |
|
|
Hi,
May i know if CICS has any log record or system table where it stores the CPU time took to process any transaction.
Regards,
Umesh _________________ Umesh |
|
Back to top |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Wed Jul 02, 2003 9:24 am Post subject: |
|
|
Hi Umesh,
Thats an interesting question. But one transaction can span multiple tasks and vice versa. CICS recognizes tasks but I don't know how it can keep track of a transaction when it spans across multiple tasks. I tried the IPL log but in there only those transactions are logged which abend and those abends are intercepted by CICS.
Maybe someone else here can throw some light on that.
If you need to know the time for which a transaction runs for performance analysis purposes, you can try what we once did. Our application program logged the time when the transaction starts in a TSQ and did the same when it ends. Then we read the TSQ to find out the total elapsed time. But that of course may not be the exact CPU time, but still gives an indicator to the performance of the transaction.
Regards,
Manas |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Fri Oct 10, 2003 6:25 am Post subject: |
|
|
Hi,
interesting question.
I have no solution, but an remark / hint:
If you use then assembler macro TIMEUSED will you get the total cpu time comsumption of the complete cics subsystem.
Executing TIMEUSED twice, at the beginning and end of the transcation, may by a indicator of the total cpu time consumption of the transaction (plus other transaction executed at thensame time).
Do you have an better solution, I'm interested, if any ?! |
|
Back to top |
|
 |
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Tue Oct 14, 2003 11:44 am Post subject: |
|
|
The SMF type 110 records produced by CICS include such data as cpu and elapsed time for all transactions (unless this feature is turned off). See the 'CICS performance Guide' for more details. |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Wed Oct 15, 2003 1:28 am Post subject: |
|
|
Hi,
the possibilitys of SMF records are know to me (and used for accounting purpose).
I'm lookong for a possibility, to get the cpu time during program execution. I want to check parts of an application program for cpu time consumption. I need an assembler (cobol, PL/1....) routine, which can be called in an cics environment and feeds back the cpu time consumption.
The assembler macro timeused works for mvs batch jobs, but not in CICS transactions. In this situation the result is the total amount of cpu time for the complete cics system and not for the single transaction. |
|
Back to top |
|
 |
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Wed Oct 15, 2003 4:42 am Post subject: |
|
|
There are some examples of getting the cpu time for the running task at www.xephon.com, if you do a site search on "Measuring CPU time CICS transactions" you should get a couple of examples. However, they are for very old CICS releases and will need rewriting for current releases (if they can be made to work at all!) e.g. replacing "EXEC CICS ADDRESS CSA" with the locate function of the DFHCSAD macro and checking/changing other control block fields. |
|
Back to top |
|
 |
|
|