View previous topic :: View next topic
|
Author |
Message |
tushar_study
New User
Joined: 01 Feb 2007 Posts: 30 Location: Mumbai
|
|
|
|
Hi ,
I have 3 STEPS in my JOB
STEP1,STEP2 and STEP3.(STEP1 BACKSUP A DATASET WHILE STEP 3 DELETES THAT DATASET).
I WANT TO USE (COND=ONLY),IF STEP1 IS SUCCESSFUL.
hOW CAN I USE IT,PLEASE HELP.
tHANKS IN ADVANCE(I DONT WANT TO USE THE if CLAUSE)
rEGARDS,
tUSHAR |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Quote: |
I WANT TO USE (COND=ONLY),IF STEP1 IS SUCCESSFUL. |
I thik you don't want to execute steps 2 and 3 if step1 is sucessful.
If it is so then in step2 include the COND parameter as,
In Step 2=> COND=(0,EQ,STEP1)==>If STEP1 returns a code of zero then step2 will be discarded.
Similarly,
In Step 3=> COND=(0,EQ,STEP1)==>If STEP1 returns a code of zero then step3 will be discarded. |
|
Back to top |
|
|
tushar_study
New User
Joined: 01 Feb 2007 Posts: 30 Location: Mumbai
|
|
|
|
No what i actually meant was That Step 3 should be executed only if Step 1 is a success.
Thanks in advance
Regards,
Tushar |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Quote: |
i actually meant was That Step 3 should be executed only if Step 1 is a success. |
Then In Step3 give the following condition,
Step 3==>COND=(0,NE,STEP1)==>When Step1 runs sucessfully and returns zero ,step3 will be executed. |
|
Back to top |
|
|
|