How do you skip a job and run step 1 and step3 ?

A job has 3 steps by name step1, step2, step3.

if i don't want to execute step2, what i have to do.

Showing Answers 1 - 9 of 9 Answers

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.

  Was this answer useful?  Yes

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.

or u can code COND = (4096,GE)

u can revert me incase of any issues.

Regards
jinka.saikrishna@gmail.com

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions