IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Exceution time of called programs


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tecnokrat
Warnings : 1

Active User


Joined: 22 May 2009
Posts: 160
Location: Bangalore

PostPosted: Tue Nov 16, 2010 3:18 pm
Reply with quote

Hi,
I have a program A which calls Program B and that inturn calls PROGRAM C .

Code:


 PROGRAM A ---> PROGRAM B ----> PROGRAM C


So can i get the total execution time of each called programs PROGRAM B and PROGRAM C.Is there any field stored in the statistics to retrieve the information from.


Please help me out.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Nov 16, 2010 3:41 pm
Reply with quote

Talk to your performance and capacity people, if it's possible they will have done it.
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Mon Dec 06, 2010 11:27 am
Reply with quote

Hi,
I am not sure But I think if you have Strobe, Then that will give details of the time taken by a called program.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Dec 06, 2010 4:36 pm
Reply with quote

In the absence of STROBE, SMF is your best source of data about the program and its execution statistics. Ask your performance and capacity team to provide the details as this is something that they would get by analysing from the SMF data produced, as expat has also pointed to.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Mon Dec 06, 2010 9:19 pm
Reply with quote

Don't forget that as a rule of thumb, 60-80% of your processor resources consumed by the task are usually spent outside the application code, establishing and maintaining the runtime environment, or in database access interface.

If you want a relative measurement of what code gets executed the most time, you might do with execution counters in test tools like Xpediter.

You should also be able to calculate if it matches the expected numbers for the problem data used.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top