Page 1 of 1

Execute the Job from step11.

Posted: Mon Nov 09, 2015 11:06 am
by DannyG
Hi,

In the interview they asked, if there are 30 steps in ajob and we want to execute from step 11.

I replied that we can code RESTART=STEP11 in the job card.

The they asked, but if step11 abends, we want other steps to execute and if it does not aend other steps shuoul not execute.

To this I could not answer, can anyone please help with an answer.

Re: Execute the Job from step11.

Posted: Mon Nov 09, 2015 5:00 pm
by Akatsukami
Enclose the remaining steps in an IF construct.

Re: Execute the Job from step11.

Posted: Mon Nov 09, 2015 5:41 pm
by enrico-sorichetti
in most forums the question
if there are X steps in a job and we want start executing from step Y .
is one of the first items
in the list of the topics not eligible for discussion

it has been debated so many times and answered so many times
that anybody not able to reserch it by himself/herself should consider a switch to a profession less demanding

but really the question should belong to the stupid questions category
the only times I have seen the technique used was in the prehistoric age of punched cards
when shuffling the deck of a running icl was considered foolish :mrgreen:

Re: Execute the Job from step11.

Posted: Wed Nov 11, 2015 3:48 pm
by vikriih
COND statement can be used..refe: Please post links only from IBM's site.