Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to determine execution time of each program in job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: how to determine execution time of each program in job
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 16, 2007 10:53 pm    Post subject:
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

Site Director


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

PostPosted: Thu May 17, 2007 1:50 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us