Posted: Tue Apr 17, 2007 4:37 am Post subject: Parsing error cobol copy book messages
Newbie
Joined: 17 Apr 2007 Posts: 1
We are using Message Broker Toolkit for WebSphere Studio v5.0.7
I am reading a flat file type (Custom Wire Format) message from an external system. The aim is to convert this to XML in the first instance so as to enable the use of a normal XML Transformation node.
The message set (schema) for flat file was prepared using the COBOL type layout as shown below:
01 EMP.
02 FIRSTNAME PIC X(10).
02 LASTNAME PIC X(10).
02 FILLER OCCURS 200 TIMES PIC X.
I am having problem. The message that I place appears to be correct in length and format but in all instances as soon as I go near the MRM parser it gives the following error.
imbRecoverableException caught from worker ->parseNext.
and the body of the message is MRM without any contents.
If i send only one message it is not giving any errror. But when i send flile contains two records. It reades the first message and athen it gives the above error
I have two messages has followes.
(Message sent:
nirav shah
nirav shah
)
Thus, when Broker reads the message as MRM and upon exit from the MQInput node it throws the exception imbRecoverableException caught from worker ->parseNext.
How is the message defined in the model? Do you have it set to more than one maxOccurs? _________________ I am *not* the model of the modern major general.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum