View previous topic :: View next topic
|
Author |
Message |
NehaPathak
New User
Joined: 02 Aug 2007 Posts: 5 Location: Pune
|
|
|
|
We can give time parameter at job level and at step level both at the same time. But what will happen if time parameter specified at step level exceeds total time specified at job level?
I tried with small pgm by specifying 2 sec for step level and 1 sec for job level that pgm executed properly with out any error.
But i tried with small pgm only if pgm is larger than the 1 sec requirement then wat will happen? |
|
Back to top |
|
|
balakrishna reddy
Active User
Joined: 13 Jul 2007 Posts: 128 Location: Guntur
|
|
|
|
hi neha,
Quote: |
But i tried with small pgm only if pgm is larger than the 1 sec requirement then wat will happen?
|
if the time parameter is coded on both job and step as shown below in the example code.
Code: |
//SECOND JOB ,'Balakrishna',TIME=3
//STEP1 EXEC PGM=C,TIME=2
//STEP2 EXEC PGM=D,TIME=2
|
the job is allowed 3 minutes of execution time. Each step is allowed 2 minutes of execution time. Should either step try to execute beyond 2 minutes, the job will terminate beginning with that step. If STEP1 executes in 1.74 minutes and if STEP2 tries to execute beyond 1.26 minutes, the job will be terminated because of the 3-minute time limit specified on the JOB statement. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Quote: |
But what will happen if time parameter specified at step level exceeds total time specified at job level?
|
This statement is confusing ! It actually depends on the actual time taken for a step to execute and not the actual parameter specified.
if the time specified in the JOBcard is 2 mins then the job would abend if the job runs for more than 2 mins no matter the value in the STEP.
The TIME parameter specified in the JOB card is for all the steps and that shd be greater than or equal to the total time taken by all the steps to execute. |
|
Back to top |
|
|
NehaPathak
New User
Joined: 02 Aug 2007 Posts: 5 Location: Pune
|
|
|
|
THANX A LOT TO U ALL!!!!
I got the point that the time specified at job level is the time allocated to that total job.
Thanx again!!! |
|
Back to top |
|
|
|