Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
Hi Namshr,
COND - Each step sends an a return code to the system upon completion.
This is called condition code. COND parameter is used to control
the execution of subsequent job steps, depending on the condition
code that is returned for prior step.
Return code number between 0 and 4095
Syntax -> COND=(comparsion-code,condition)
(If coded on job)
COND=(comparsion-code,condition [,stepname] [,EVEN / ONLY])
(If coded on step)
In this example we are specifing that if the number
4 is grater than the return code of STEP1, then STEP2
is to be bypassed. It is elaborated further in the
following image