There is an Endevor Processor failing in FOREGROUND but works in BATCH mode.
The processor execution sysout shows error
C1X0011S STEP STEP01I PROGRAM IKJEFT01 ABENDED, CODE=TSOFG
C1G0129E STEP STEP01I RC (TSOFG) EXCEEDS THE MAX RC (0001) FOR THE PROCESSOR STEP
The error "C1X0011S STEP REXX01I PROGRAM IKJEFT01 ABENDED, CODE=TSOFG " occurs because TSO does not allow the program IKJEFT01, a TSO program, to be executed once TSO processing has started.
The processor needs to be updated/fixed. See sample processor GCIIDBL processor, you can use sample GCIIDBL that is delivered in the CSIQSMPL library.