我的一个应用程序是与大型机系统集成的。通过CICS / CTG。我在执行request.also时遇到了一个错误,我对请求使用了ASN1编码。
执行请求时遇到的错误。
com.ibm.connector2.cics.CICSUserInputException: CTG9627E IOException occurred when writing to the Output Record
org.springframework.dao.NonTransientDataAccessResourceException: Unable to create a connection to the remote application; nested exception is com.ibm.connector2.cics.CICSUserInputException:
CTG9627E IOException occurred when writing to the Output Record
com.ibm.connector2.cics.CICSUserInputException: CTG9627E IOException occurred when writing to the Output Record
at com.ibm.connector2.cics.ECIManagedConnection.call(Unknown Source)
at com.ibm.connector2.cics.ECIConnection.call(Unknown Source)
at com.ibm.connector2.cics.ECIInteraction.execute(Unknown Source)
java.io.IOException: messagelength in header greater than existing data length - common area too short?
at com.ibm.connector2.cics.ECIManagedConnection.call(Unknown Source)
at com.ibm.connector2.cics.ECIConnection.call(Unknown Source)
at com.ibm.connector2.cics.ECIInteraction.execute(Unknown Source)我正在使用cics version : c900-20160704-0205
有人对此有任何见解吗?
发布于 2022-12-01 06:07:27
通过以下决议解决了这个问题
根据此错误消息长度,messagelength in header greater than existing data length - common area too short?是短的,因此我尝试在公共区域增加长度,如本文档https://www.ibm.com/docs/en/cics-ts/5.6?topic=applications-transferring-data-between-programs-using-channels所示。
在CTG Service executor >> CTG Record中添加代码
setCommonAreaLength(32500)应用本决议后,问题就解决了。
希望有人能帮助我们
发布于 2022-11-04 06:38:29
错误描述可在https://www.ibm.com/docs/en/cics-tg-multi/9.0?topic=SSZHFX_9.0.0/cclaj/CTG9627E.htm上获得
似乎您要传递的数据不是javax.resource.cci.Streamable的同义词。你能证实一下吗。
https://stackoverflow.com/questions/74275170
复制相似问题