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
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 |
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 |
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 |
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 |
What are s0c1, s0c4, s0c5, s0c7 and socb?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what is d/f b/w sysout & sysprint
which utility is used to run a cobol-db2 program?
Explain about CBL/PROCESS statement syntax
How can we execute only one step in a job
22 Answers MAHINDRA, Mind Tree, Tech Mahindra,
Whats error code s222?
Is their any set of rules for dd? Explain.
Is it possible to left uncode disp? If yes, how?
WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
Why do you use a control card?