Condition code not being honored in Endevor processor
search cancel

Condition code not being honored in Endevor processor

book

Article ID: 107961

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

I am doing a C compile and link. The COMP step ends with a 0004 but my LINK steps do not run because of condition codes.
The processor JCL has COND=(4,LE,COMP) on the LINK step.

Here is the messages from the Processor execution: 
C1X0010I STEP COMP PROGRAM CCNDRVR COMPLETED, RC=0004 
C1X0012I STEP GENER INVOKING PROGRAM IEBGENER 
C1X0010I STEP GENER PROGRAM IEBGENER COMPLETED, RC=0000 
C1X0014I STEP 0007 (PLKED) NOT EXECUTED BECAUSE OF CONDITION CODE(S) 
C1X0014I STEP 0008 (LKED) NOT EXECUTED BECAUSE OF CONDITION CODE(S) 

 
Here is the LINK JCL step: 

//PLKED EXEC PGM=EDCPRLK,COND=(4,LE,COMP), 
//     PARM='&PPARM.,DLLNAME(&MBR)', 
//     EXECIF=(&PRELINK,EQ,'Y') 

Environment

Release:
Component: ENDBAS

Cause

The COND=(4,LE,COMP) parm is interrupted as - 
    "Bypass this step if 4 is less than or equal to the return code from COMP (in this case - 4) " 
  
Because 4 equals 4, the step is bypassed. 
 

Resolution

Change the COND parm to :
COND=(4,LT,COMP)