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 can I know the execution time for a JOB?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Tue Oct 07, 2008 12:46 pm    Post subject: How can I know the execution time for a JOB?
Reply with quote

Guys,

How can I know the CPU execution time for a JOB from the JES2 log?

Thanks,
Galen
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Oct 07, 2008 12:55 pm    Post subject:
Reply with quote

Have you had look at JESMSGLG
It should have everything you needed...
You will find below in JESMSGLG
Code:

TOTAL TCB CPU TIME=    .00 TOTAL ELAPSED TIME=    .0 
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Oct 07, 2008 12:55 pm    Post subject:
Reply with quote

Hi,

Check these similar links..

http://www.ibmmainframes.com/viewtopic.php?t=33210&highlight=cpu
http://www.ibmmainframes.com/viewtopic.php?t=34321&highlight=cpu
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Tue Oct 07, 2008 1:25 pm    Post subject:
Reply with quote

Sambhaji wrote:
Have you had look at JESMSGLG
It should have everything you needed...
You will find below in JESMSGLG
Code:

TOTAL TCB CPU TIME=    .00 TOTAL ELAPSED TIME=    .0 


Thx.

What does TCB stands for? I also can find

Code:
CPU SRB TIME      00.00.00.01



Galen
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Oct 07, 2008 1:47 pm    Post subject:
Reply with quote

google is your friend:

http://web.utk.edu/~mnewman/ibmguide10.html

then do a find on TCB a couple of times.
The explanation includes definition of the two ACRONYMs as well as what purpose they serve.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Oct 07, 2008 2:38 pm    Post subject:
Reply with quote

Thanks Dick Brenholtz.
Link mentioned is very informative.

Below is part of infomation form link explaining various terms..
Quote:

PROCLIB substitution messages (IEF653I messages)
RACF messages repeated from the job log
Messages concerning each job step including
Allocation messages for this step (IEF237I messages)
Condition code for this step (IEF142I)
Deallocation messages for this step (IEF285I messages)
EXCPs by DDNAME (UNT531I messages)
Step Statistics (UNT501I-UNT510I messages)
Starting and ending wallclock time (hh:mm:ss)
Elapsed time (hh:mm:ss)
Region requested (in Kilobytes)
Region used -- not billed to user
Region limit -- region requested + 64K
System area used -- not billed to user
TCB time in seconds -- CPU time billed to user
SRB time in seconds -- CPU time not billed to user
CPU time -- TCB time multiplied by rate
VF time -- vector facility time used
Kilobyte-hours -- computed according to formula in UTCC Schedule of Charges
KBHOURS -- not billed to user
DCT -- device connect time by device type and total
EXCPs by device type and total
EXCP cost by device type and total
Job statistics (UNT521I-UNT530I messages) -- totals for all steps
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Oct 08, 2008 11:59 am    Post subject:
Reply with quote

Thanks all!
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Oct 08, 2008 12:50 pm    Post subject:
Reply with quote

Hello,

SRB stands for Service Request Block: A system control block used for dispatching tasks. It is not owned by any application, but is used when work is done by the operating system on behalf of an application.

It should be norted that CPU time is the time for which the CPU was busy executing the task. It does not take into account the time spent in waiting for I/O (disk IO or network IO). Since I/O operations, such as reading files from disk, are performed by the OS, these operations may involve noticeable amount of time in waiting for I/O subsystems to complete their operations. This waiting time will be included in the elapsed time, but not CPU time. So, CPU time is usually less than the elapsed time.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Oct 08, 2008 1:00 pm    Post subject:
Reply with quote

And for that matter, TCB, Task Control Block, is the consolidation of control information related to a task, so this is the CPU time billed to user.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Oct 08, 2008 6:41 pm    Post subject:
Reply with quote

While your SRB time is not a function of the task, it is certainly task-related and many shops do charge total TCB+SRB to the user.

For example, if a user writes 10 times as many blocks because they chose a small blocksize then SRB will be higher.
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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am


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