MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CPU time taken to process a CICS transaction

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
umesh mishra
Beginner


Joined: 02 Jul 2003
Posts: 1
Topics: 1

PostPosted: Wed Jul 02, 2003 1:02 am    Post subject: CPU time taken to process a CICS transaction Reply with quote

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
View user's profile Send private message Yahoo Messenger
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Wed Jul 02, 2003 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Fri Oct 10, 2003 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Tue Oct 14, 2003 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Wed Oct 15, 2003 1:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Wed Oct 15, 2003 4:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group