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
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How can a jobs execution priority be modified?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
How to override loadlib?
What happens if both JOBLIB & STEPLIB is specified ?
what is the purpose of coding class parameter in job statement?
What is the function of the dd dcb keyword?
Can we use DISP=SHR in output file in JCL
Name the parameters which can be used to limit the number of records written to a sysout dataset?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Explain the function of dd disp parameter?
How would you understand error(execution phase)?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?