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

Query related elapsed time and Job cost


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Sep 16, 2008 5:59 pm
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
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: 8797
Location: Welsh Wales

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

Thanks A lot
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Sep 17, 2008 11:12 am
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

Superior Member


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

PostPosted: Wed Sep 17, 2008 11:26 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
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 C Compile time time stamps Java & MQSeries 10
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top