Time parameter



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Time parameter

Postby Vikrant Survase » Tue Aug 10, 2010 1:21 am

i just want to know that what will happen if time parameter coded in jcl step is greater then than time parameter coded in jcl job statement?
bcoz as time parameter in step overrides the job parameter, will it override in above situation also?
Vikrant Survase
 
Posts: 19
Joined: Fri Jun 04, 2010 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Time parameter

 

Re: Time parameter

Postby dick scherrer » Tue Aug 10, 2010 2:42 am

Hello,

Read here:
http://publibz.boulder.ibm.com/cgi-bin/ ... 90/20.26.6

If you want more information, search within that manual (the flashlight/tubelight near the top left).

If you find something in the manual that is not clear, post what you found and your doubt. SOmeone will be able to clarify.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 92 times

Re: Time parameter

Postby ballaravi » Tue Aug 10, 2010 4:55 pm

i think it will override the time parameter in job statement
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Time parameter

Postby Robert Sample » Tue Aug 10, 2010 5:07 pm

ballaravi: in that case, you need to explain this example from the manual Dick cited:
Example 2


//SECOND JOB ,JONES,TIME=3
//STEP1 EXEC PGM=ADDER,TIME=2
.
.
.
//STEP2 EXEC PGM=PRINT,TIME=2
.

In this example, the job is allowed 3 minutes for execution, and each step is allowed 2 minutes. If either step continues executing beyond 2 minutes, the entire job abnormally terminates beginning with that step. If STEP1 executes for 1.74 minutes and STEP2 tries to execute beyond 1.26 minutes, the job abnormally terminates because of the 3-minute limit specified on the JOB statement.
Robert Sample
Global moderator
 
Posts: 3443
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 242 times

Re: Time parameter

Postby ballaravi » Fri Aug 13, 2010 2:27 pm

Robert,
i mean time parameter in exec step will override the time parameter in job step.
is that write or not ?
i am in confusion right now .........
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Time parameter

Postby NicC » Fri Aug 13, 2010 2:52 pm

You sure are - there is no such beast as 'EXEC STEP' - they are al steps within a job.
I know the manual does not say that TIME on a step overrides TIME on the jobcard or, indeed, the reverse. However, if you analyse the examples you will see that the accumulated times of all steps in the job must be less than the TIME specified on the jobcard.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2751
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 110 times

Re: Time parameter

Postby Robert Sample » Fri Aug 13, 2010 2:58 pm

The step TIME parameter is considered before the job TIME parameter -- there's no override involved since they both impact what happens. If you coded TIME=1 on the job card and TIME=10 on the EXEC for the step, will the step be allowed to execute for 10 minutes of CPU time? No, it will not -- after one minute the step is canceled due to the TIME=1 on the JOB card.
Robert Sample
Global moderator
 
Posts: 3443
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 242 times

Re: Time parameter

Postby ballaravi » Fri Aug 13, 2010 3:06 pm

ok,thanks some what clear
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post