ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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


Article ID: 17921


Updated On:


Bind Analyzer for DB2 for z/OS SQL-Ease for DB2 for z/OS SYSVIEW Performance Management Option for DB2 for z/OS Plan Analyzer for DB2 for z/OS Subsystem Analyzer for DB2 for z/OS PanAudit Plus Easytrieve Report Generator PAN/SQL Endevor Software Change Manager (SCM) Endevor Software Change Manager - Natural Integration (SCM) Endevor Software Change Manager - ECLIPSE Plugin (SCM) Endevor Software Change Manager - Enterprise Workbench (SCM) CA 2E



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 ?


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. 


Release: ENDAE.00200-15.1-Endevor-Software Change Manager