This article explains that to resolve CICS submitting JCL to Internal Reader using CICS WRITEQ TD requires closing the connection correctly.
Problem:
Only one JCL job could be submitted to the Internal Reader from CICS without getting AEIQ IOERR failure. Why is this?
Resolution:
The last record sent to the Internal Reader must be /*EOF. The JCL that was submitted that caused the failure included /*EOF but was followed by another record or two records that contained //. Correcting the JCL; which are being read from an SQL database; to end with the /*EOF will resolve the problem.
Incident Number: 2349945
#EnterpriseDeveloper
#MFDS

