After entering this command:
F XCOM12,COPYHIST,TARGET.XCOM.COPYHI01
This abend is displayed:
XCOMM0053E SUBTASK ABEND U4094 REASON 00000018 IN MODULE(CEEPLPKA), OFFSET(+0007A9FC).
However, the file that is generated is correct.
A fix for this problem was included in APAR RO96344 SUPPORT FOR Z/EDC HARDWARE BASED DATA COMPRESSION.
This fix must also be applied at the same time: RO99490 LE NOT BEING PROPERLY TERMINATED WHEN XCOMJOB CALLED AS API