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
 

 

Query related elapsed time and Job cost

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

New User


Joined: 05 Jun 2007
Posts: 28
Location: Mumbai

PostPosted: Tue Sep 16, 2008 5:53 pm    Post subject: Query related elapsed time and Job cost
Reply with quote

Hi,

1) Can you please let me know what is Elapsed time?.

2) Is job cost present in the JESMSGLG is the accurate/actual cost?, because one of my senior member told me that it is not the actual cost, If so then how we can find the actual cost of the Jobs?

Thanks
Brit
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: Tue Sep 16, 2008 5:59 pm    Post subject:
Reply with quote

Elapsed time is exactly what it says it is, the amount of time that elapsed for the job stream, i.e. from when it started to when it ended.

The cost of a job is usually calculated by your capacity and planning team who have all of the relevent information available to do so.
Back to top
View user's profile Send private message
banand

New User


Joined: 05 Jun 2007
Posts: 28
Location: Mumbai

PostPosted: Tue Sep 16, 2008 6:38 pm    Post subject:
Reply with quote

expat wrote:
Elapsed time is exactly what it says it is, the amount of time that elapsed for the job stream, i.e. from when it started to when it ended.

The cost of a job is usually calculated by your capacity and planning team who have all of the relevent information available to do so.


Hi,

1) Still I am not getting what is elapsed Time, Because in one of my job, below is the start time and end time, as per this start and end time job's elapsed time should be .13 but in the JESMSGLG it is displaying TOTAL ELAPSED TIME= .2

IEF403I PGM1 - STARTED - TIME=05.30.02
IEF404I PGM1 - ENDED - TIME=05.30.15

Could you please elaborate in detail?.

2) What are the informations is required to calculate the job cost?

Thanks
Brit
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: Tue Sep 16, 2008 6:47 pm    Post subject:
Reply with quote

Maybe 13 seconds is approximately 0.2 minutes

SRB service units, TCB service units, distributed allocation of OS service units, I/O service units, elapsed time of tape drive allocation, amount of data written to tape or number of tapes used, amount of DASD resource consumed, number of pages printed, proportonial power related costs, proportional SW license costs .......... ad infinitum

Each and every element of job cost is site specific, as is which elements are actually used for chargeback calculation, hence my indication that you speak to the people who know the site specific information.
Back to top
View user's profile Send private message
banand

New User


Joined: 05 Jun 2007
Posts: 28
Location: Mumbai

PostPosted: Wed Sep 17, 2008 10:22 am    Post subject:
Reply with quote

Thanks A lot
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 Sep 17, 2008 11:12 am    Post subject:
Reply with quote

Hi,

Costs include initiator use, cpu cycles, i/o, etc. What that cost is, is determined by someone in your organization.

There is one more term - CPU time, this is 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. Hence CPU time is usually less than the elapsed time.

But in certain cases, the CPU time may be more than the elapsed time ! When multiple threads are used on a multi-processor system or a multi-core system, more than one CPU may be used to complete a task. In this case, the CPU time may be more 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 Sep 17, 2008 11:26 am    Post subject:
Reply with quote

Hello again,
Quote:
per this start and end time job's elapsed time should be .13 but in the JESMSGLG it is displaying TOTAL ELAPSED TIME= .2

IEF403I PGM1 - STARTED - TIME=05.30.02
IEF404I PGM1 - ENDED - TIME=05.30.15
60 sec= 1 min
12 sec = 12/60=0.2 min, probably 1 sec was "wasted" in I/O operations & was not taken into account for calculating the CPU cost...
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 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 Application not run by time HH:MM tri... jzhardy IBM Tools 1 Sun Apr 09, 2017 3:22 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


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