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.
Note: The documentation includes a sample program that can be used to test JCL submission from CICS. Do a search from INTRDR and list “Integration with CICS support”.
Incident Number: 2349945
Old KB# 14713
#EnterpriseDeveloper
#MFDS
