Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Invalid segment length (LL) of [0](help me)

4 views
Skip to first unread message

durr...@yahoo.com

unread,
Dec 12, 2005, 4:49:16 AM12/12/05
to
dear all,
this issue is blocking our project for two weeks, could you please help us?

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)

mike...@symbiotics.co.za

unread,
Jun 21, 2006, 3:38:05 PM6/21/06
to
Have you solved this problem?

wbmck...@yahoo.com

unread,
Jun 22, 2006, 3:18:19 PM6/22/06
to
set the ll segment length by using the generated format handler.

Call formatHandler.getSize();

E.g.

outputHandler.setObjectPart(output);
output.setLlzz__bufsize((short)outputHandler.getSize());

Cheers,
William

0 new messages