ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing error cobol copy book messages

Post new topic  Reply to topic
 Parsing error cobol copy book messages « View previous topic :: View next topic » 
Author Message
nsreddy73
PostPosted: Tue Apr 17, 2007 4:37 am    Post subject: Parsing error cobol copy book messages Reply with quote

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.


Thanks in advance
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 17, 2007 5:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing error cobol copy book messages
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.