|
View previous topic :: View next topic
|
| Author |
Message |
sudhaaa
New User
.jpg)
Joined: 24 Mar 2005 Posts: 51
|
|
|
|
Hi folks,
IN JCL,WE HAVE A STEP WITH TIME=2,AND IN JOB CARD I SPECIFIED IT AS TIME=3, IF THE STEP NEEDS MORE THAN 2 MINUTES FOR EXECUTION WHT HAPPENED WHEN WE RUN THIS JCL |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Sudhaaa,
STEP will get TIME ABEND.
Regards,
Priyesh. |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
to be more specific....
JOB TIME=X
STEP1 TIME=A
STEP2 TIME=B
STEP3 TIME=C
So for STEP3 to be executed successfully.
Its running time <= C & running time<= (X-A-B)
Regards,
Priyesh. |
|
| Back to top |
|
 |
subhasis_50
Moderator

Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
|
|
Hi,
If your step exceeds the time limit coded in the JOB CARD it will abend.
But if it takes time greater than 2(as coded in step) and less than 3 as coded in JOB CARD it will run fine. As if time parameter is coded both in JOB and STEP, job will override the time parameter of the step.
Correct me if i am wrong. |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Subhasis_50,
Friend....I m agree with you on.....job will override the time parameter of the step.
Well, I found some more thing on this....
| Quote: |
| You can use the TIME parameter on a JOB statement to decrease the amount of processor time available to a job or job step below the default value. You cannot use the TIME parameter on a JOB statement to increase the amount of time available to a job step over the default value. To increase the allowable time over the default value, use the TIME parameter on the EXEC statement. |
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/20.26?DT=20040712170508
It should clear the air....Please get me back, If I m not correct.
Regards,
Priyesh. |
|
| Back to top |
|
 |
Rajani77 Warnings : 1 New User
Joined: 14 Jul 2005 Posts: 3 Location: Bangalore
|
|
|
|
Hi !
That job is abended with S322 abend, If the job will takes more than specifed time, this abend happens
Rajani |
|
| Back to top |
|
 |
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
hi sudhaaa
The time parameter in on the EXEC will override the time parameter on the job card.If step exdeds specified time limit on exec parameter the job will abended.
in your above case job will abended
thanooz |
|
| Back to top |
|
 |
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
| Quote: |
IN JCL,WE HAVE A STEP WITH TIME=2,AND IN JOB CARD I SPECIFIED IT AS TIME=3, IF THE STEP NEEDS MORE THAN 2 MINUTES FOR EXECUTION WHT HAPPENED WHEN WE RUN THIS JCL |
In your case the Job will ABEND because Unless you mention TIME=NOLIMIT or 1440 in JOBCARD the Parm will not be overriding the parm in EXEC statement. So there is no significance if you code anything other than NOLIMIT or 1440 in JOBCARD ,bcos it is going to ignored by the parm in EXEC statement.
Also find the link for clarification.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/20.26.4?SHELF=&DT=20040712170508&CASE= |
|
| Back to top |
|
 |
|
|