|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MRM - Reading TDS Message Error |
« View previous topic :: View next topic » |
Author |
Message
|
Tonedef |
Posted: Tue Sep 18, 2007 7:31 am Post subject: MRM - Reading TDS Message Error |
|
|
Apprentice
Joined: 05 Feb 2007 Posts: 44
|
Could someone confirm i'm either being dense or on the right lines please.
I've created a message in the MRM, and assigned a TDS and XML Parser.
The file is fixed length records, starting with a TAG(7chars) ending with <CR><LF> contained in an AllRec Delimited Type
e.g
TAG1..........crlf
TAG2..........crlf
TAG3..........crlf
TAG3..........crlf
TAG4..........crlf
For the records, Defined as Fixed Length
The Tag is defined on the Type Group Indicator, No Terminator defined
the fields are fixed width.
Message Type is All Ements Delimimited with a Delimiter of <CR><LF>
When I try to read the data in I get the error
"ImbRecoverableException caught from worker->parseNext"
and nothing showing in the MRM.
If I remove the Tags it kinda reads the data but ignores the crlf.
I'm now confused as the same setting works for a smaller proof message. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 18, 2007 7:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You really haven't given enough information on the structure of your model.
I would not tend to use Group Indicator, here... I'd just plain use Tag.
There's a difference in what properties you can set on a Type and on an Element of a type...
You probably want to create a Message that consists of a choice of Elements of your TAG1, TAG2, etc. Types. Then set the Tag on the Elements, rather than a GI on the Type.
And make sure the Tag Length is set to 7. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Sep 18, 2007 8:09 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Take a user trace. That exception is one of three or four in a chain, and its the top-level one. You need to see the innermost exception. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|