In JCL..for TIME Parameter was specified both JOB &
STEP..which one is overrides

Answer Posted / vidhya

If time parameter is specified on both job and exec the
smallest of the one is taken.

eg:
//job1 job time= 3
//step1 exec pgm=pgm1, time = 1
//step2 exec pgm=pgm2, time = 1

Step1 can take max of 1 min and step 2 can take max of 1
min. So the total time taken by 2 steps cannot be greater
than 2 mins even if the time on job card is 3 mins.

//job1 job time= 2
//step1 exec pgm=pgm1, time = 1
//step2 exec pgm=pgm2, time = 2

if step1 runs for 0.75 mins, then step 2 can take max of
1.25 mins. Bcoz the total time taken by both the steps
should not exceed 2 mins as the time on job card is only 2
mins.


On the whole, the time taken by each job step should not
exceed the time given for that step and also the total time
taken by all the steps should not exceed the time given for
that job.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the utility programs in jcl?

635


Name a few IBM utility programs, and explain its function.

4420


what is the difference between JES3 and JES2?

665


What are steplib and joblib? What for they are used?

679


List the various advantages of using jcl language?

838






how to do automated restart when a job abends?

830


which parameter is use to declare the name of dataset in dd statement?

715


What is concatenating?

624


Is their any limit for data sets?

690


what is use of dsn parameter in dd statement?

657


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

604


What is the function of the dd avgrec keyword in sms datasets?

818


Differentiate between the joblib and the steplib statements?

846


write a jcl to execute a job by 7:00 am on jan 20,1986?

679


What do you understand by the term job time – out and how can you overcome that?

590