in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30)
and in step i coded time=(1,30), whch one executes first and
what happens if step1 and step2 time executes and wht about the
remaining time if step and step2 executes

Answers were Sorted based on User's Feedback



in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), ..

Answer / rakesh jena

As per your question, in this situation, the job executes
step1 first then Step2.So if step1 will take 1 min 30 sec
then remaining 1min will for step2.if step2 will take more
than 1 minute then job will abnormally terminate with S322
abend.most probably it is depending upon the CPU usage time
for the individual step.

Is This Answer Correct ?    9 Yes 1 No

in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), ..

Answer / kittu

According to your question...
1.If the 2 jobs submitted then the job which is submitted
first excutes first.
2.If the jobs are submitted at the same time then os
decides based on the class parameter.
3.If the class parameter are also same then based on the
priority(PRTY) job will executes.
4.If the priority also same then operator cancells both the
jobs after a wait time.
or
If the region and time specified in both the job & exec
statements then the values specified in job will overwrite
that of Exec statements values.
So job statement coded time will overwrite the step coded
time.

Is This Answer Correct ?    1 Yes 1 No

in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), ..

Answer / srinivas

after step1 executed,for step2 1 minute of job time will be
there,but step2 time is (1,30).In this case,step wont abend
instead, it will override the job time and step2 will aslo
execute successfully..

Is This Answer Correct ?    0 Yes 0 No

in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), ..

Answer / praveen bejjanki

If time parameter is specified in both Job and exec stmt,
then the Time specified for step or the time left out in
the job whichever is small will be the time for that
particular step.

Job = (2,30) means 2mins, 30 seconds.
step1 = (1,30) since step1 time limit is less, step1 will
execute in 1min, 30 seconds.
step2 = (1,30)
Since the time left out in the job is only 1min. so this
1min is assigned to step2

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

How can u know the current date using jcl?

2 Answers   iNautix, Wipro,


Are there any set of rules for the names of the steps used in a job?

0 Answers  


I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K

3 Answers  


What is JCL LIB ?

3 Answers   Xansa,


Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?

3 Answers  






what is use of dsn parameter in dd statement?

0 Answers   IBM,


How can a jobs execution priority be modified?

0 Answers  


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

4 Answers  


Explain the function of //cntl statement?

0 Answers  


i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?

3 Answers   IBM,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


What is a GDG

4 Answers   IBM,


Categories