My processor fails in FOREGROUND but works in BATCH mode.
The processor execution sysout shows error
C1X0011S STEP REXX01I PROGRAM IKJEFT01 ABENDED, CODE=TSOFG
C1G0129E STEP REXX01I 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.
You must fix your processor, you can use sample GCIIDBL available in "Sample Processors"