Why does 'if-then-else' logic in a processor with 'stepname.rc' syntax generate a false unexpectedly ?

Document ID : KB000017921
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

If a processor step is excluded by 'if-then-else' logic and the same named step completes with RC=0, why does the test for stepname.RC = 0 return a false ?

Solution:

Use unique stepnames in a processor. If a processor step is excluded by if-then-else logic, then the same stepname completes with RC=0, the test for stepname.RC = 0 will return a false. The use of non-unique stepnames can have unpredictable results.