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

how to determine execution time of each program in job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
monika_vora

New User


Joined: 16 May 2007
Posts: 1
Location: mumbai

PostPosted: Wed May 16, 2007 10:30 pm
Reply with quote

Hi! i have two jobs which are taking very high MIPS. Now i need to find out the programs which may be taking longer execution time. I am referring to JESLOG for the same. But it is getting confusing as i dont know which parameter would tell me which program is taking more time.

Any help on this issue is appreciated!
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed May 16, 2007 10:53 pm
Reply with quote

How do you know they are using high MIPS ?

The amount of CPU is usually shown for each step on the output, but although this is the norm for most sites, this may be site specific and not shown.

The best way to determine exactly how much CPU a step uses is the SMF records, type 30. These can be a real PITA to decipher, but are the only accurate measurement that you will get.

Have you checked to see if your job is I/O bound ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 17, 2007 1:50 am
Reply with quote

Hello,

When you say "taking longer" do you mean elapsed time, cpu time, or something else?

A good place to see time for a job you've just run is in the sysout from JES.
Something like this is usually at the bottom of the first sysout dataset:
Code:
  16 MAY 2007 JOB EXECUTION DATE           
           29 CARDS READ                   
           97 SYSOUT PRINT RECORDS         
            0 SYSOUT PUNCH RECORDS         
            5 SYSOUT SPOOL KBYTES           
        24.52 MINUTES EXECUTION TIME       


Something like this will be at the end of each step in the third sysout dataset:
Code:
STEP/STEP1   /START 2007136.0939                                       
STEP/STEP1   /STOP  2007136.1003 CPU    0MIN 41.43SEC SRB    0MIN 05.65


Maybe this will let you see what you are looking for. The same info is in the SMF records as mentioned before, but they can be tedious to work with. . .
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
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 Capturing Job Execution Information All Other Mainframe Topics 3
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top