About this question, I got the explanation for it from IBM(http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.ctc.ims.doc/ref/rimsmess.html)
please kindly refer to the following:
Explanation: The input message provided by the Java program for the IMS application program contains a value for its segment length which is either negative, 0, or greater than the number of bytes of data in the message segment.
User Action: Provide the correct value for the segment length of the input message.
about the segment length of the input message, what does it means? how to put the right value for it?
please refer to the exception:
javax.resource.ResourceException: ICO0024E: com.ibm.connector2.ims.ico...@7ee09a45.buildInputMsg(Record) error. Invalid segment length (LL) of [0] in input object. [com.ibm.ims.ico...@75509a45.setAppData(byte[]): com.ibm.ims.ico.IMSConnResourceException]
at com.ibm.connector2.ims.ico.IMSManagedConnection.buildInputMsg(IMSManagedConnection.java:397)
at com.ibm.connector2.ims.ico.IMSTCPIPManagedConnection.callSendRecv(IMSTCPIPManagedConnection.java:299)
at com.ibm.connector2.ims.ico.IMSManagedConnection.call(IMSManagedConnection.java:927)
at com.ibm.connector2.ims.ico.IMSConnection.call(IMSConnection.java:196)
at com.ibm.connector2.ims.ico.IMSInteraction.execute(IMSInteraction.java:497)
at com.rbc.yey0.ims.dealinquiry.TestDealInquiryImpl.invoke(TestDealInquiryImpl.java:124)
at com.rbc.yey0.ims.dealinquiry.TestDealInquiryImpl.inquiryDeal(TestDealInquiryImpl.java:40)
at com.rbc.yey0.ims.dealinquiry.DealInquiryTesting.main(DealInquiryTesting.java:31)
Call formatHandler.getSize();
E.g.
outputHandler.setObjectPart(output);
output.setLlzz__bufsize((short)outputHandler.getSize());
Cheers,
William