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

restart logic ?

2 Answers   TCS,


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,


Explain the function of dd disp parameter?

0 Answers  


lines(1,cancel)??What is meant by that??Plz explain it....

1 Answers   IBM,


Explain about LMQUERY�give a dialog information about a data set

0 Answers  






My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?

4 Answers   IMS,


What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?

2 Answers   IBM,


I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?

5 Answers   Polaris, Tech Mahindra, UST, Wipro,


I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?

1 Answers  


what is the restart?hopw it is invoked?

1 Answers  


what happens in execution stage in job processing?

0 Answers   IBM,


Categories