View previous topic :: View next topic |
Author |
Message |
krk123 Beginner

Joined: 03 Jun 2003 Posts: 58 Topics: 19
|
Posted: Fri Jan 21, 2005 11:19 am Post subject: Conditional execution. |
|
|
Hi,
Could somebody please help me with this. I need to execute step050 only if the return code from both step030 & step040 is zeroes. I have comparex steps in steps 30 & 40. Will somthing like this work ?
IF (STEP030.RC = 0 AND STEP040.RC = 0) THEN
//step050 exec ....
thanks a lot.
Regards,
KRK123 |
|
Back to top |
|
 |
hariavinash Beginner
Joined: 21 Jan 2005 Posts: 52 Topics: 7
|
Posted: Fri Jan 21, 2005 11:23 am Post subject: |
|
|
krk123 wrote: | Hi,
Could somebody please help me with this. I need to execute step050 only if the return code from both step030 & step040 is zeroes. I have comparex steps in steps 30 & 40. Will somthing like this work ?
IF (STEP030.RC = 0 AND STEP040.RC = 0) THEN
//step050 exec ....
thanks a lot.
Regards,
KRK123 | the IF condition MUST be closed with an ENDIF after step050.
good luck |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Fri Jan 21, 2005 11:23 am Post subject: |
|
|
Looks good to me.  |
|
Back to top |
|
 |
krk123 Beginner

Joined: 03 Jun 2003 Posts: 58 Topics: 19
|
Posted: Fri Jan 21, 2005 11:30 am Post subject: |
|
|
I already have an END-IF after step050. Thanks a lot for the quick reply. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
|
|