Page 2 of 2

Re: Job Start Time

PostPosted: Fri Oct 15, 2010 12:13 am
by dick scherrer
Hello,

i think any job shaduler will help like CA7 is i am right dick scherrer?
I've not seen this done by the scheduler. . .

I've not seen the need for "job start time" within an application. There are system reports that show job/step statistics but i've not used job start time for a business process.

As mentioned earlier, current time does what most requirements need.

Re: Job Start Time

PostPosted: Sat Oct 16, 2010 8:42 pm
by Anuj Dhawan
Reading your question, and wondering if you want the total time that it takes for your job to be run -- assuming that it's a batch job with a JCL, and assuming that you can not get this figure from your job messages...

In the first program, at the very beginning, do the ACCEPT <variable> FROM TIME command. Pass this information through all the programs which are run on the job. When you get to the last step in the job, at the last program being run, at the end, do another such ACCEPT command using a different variable. Then have the last program subtract the first time from the second time.

I'm not sure that you can subtract one time directly from another; you may have to convert them all into seconds, do the subtraction, then convert the result back into hours/minutes/seconds...

Re: Job Start Time

PostPosted: Thu Oct 21, 2010 6:09 pm
by ritikasingh
Just as a information, i Always used $avers.That store each and every job which we executed .It has all the information related to time start end, resource used and all.Which helped us a lot for any analysis.