RE: How do you skip a job and run step 1 and step3 ?
simple. can use COND parameter on step2.
Ex: COND (0 eq) on step2 will check if condition code returned by step 1 is equal to 0. If so then step2 will be bypassed and step 3 will be executed. if not equal then step 2 will be executed.
H/ever in ur prg. step 1 will return cc 0 so step 2 will be skipped.
RE: How do you skip a job and run step 1 and step3 ?
Hi
u have to give condition code at step 2.
Condition code given by previous person is correct and also some times it may go wrong.
for example if step i give a condition code of 1(for serach jobs)...or 4(some error)...then second step will execute.
for this we have to give a condtion which will never fails like COND (0.LE). it means what ever it may be the coide given by step one is always Greater than or equal to zero.