Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 3 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us