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 » Problem with TDS Message Set

Post new topic  Reply to topic
 Problem with TDS Message Set « View previous topic :: View next topic » 
Author Message
dipankar
PostPosted: Tue Jun 13, 2006 4:32 am    Post subject: Problem with TDS Message Set Reply with quote

Disciple

Joined: 03 Feb 2005
Posts: 171

Hi,
WINDOWS XP, WBI MB5, CSD5

Input Message:
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL

I have used the follwoing structure
Code:
MSG_TYPE
   Composition: Ordered Set
   Content Validation: Closed
       Element: Records    min 1, max -1  Repeating Element Delimiter:<CR><LF>
                     |
                      Records_Type: Composition: Ordered Set
                     | Content Validation: Closed
                     | Data Element Seperation:Variable LnthElements Delimited
                     | Delimiter: <CR><LF>
                     |--> Element:RecordHeader min 1 max 1
                     |                   RecordHeaderType: Composition: Ordered Set
                     |                  Content Validation: Closed
                     |                  Data Element Seperation: Fixed Length
                     |                  Group Indicator: 000000011
                     |-->Element:   RecordDetails min 1 max -1 Repeating Element Delimiter:<CR><LF>
                                     RecordDetailsType: Composition: Ordered Set
                                                 Content Validation: Closed
                                                 Data Element Seperation: Fixed Length
                                                Group Indicator: 000000012


RecordHeader and RecordDetails also consists of several elements. I have mentioned their length as well.

Now when I consider the following input
Quote:
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
It is working fine.

When I consider the following input

Quote:
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000120028A01533051200000000BBV AAL
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL
0000000110028A01533051200000000BBV SAS
0000000120028A01533051200000000BBV AAL
It is giving the following exception -
Quote:
MRM parsing error. Message bit stream larger than expected.

The bit stream of the message being parsed by the MRM parser is larger than expected for a message of this message type.

The message bit stream has been incorrectly constructed, or the logical model is incorrect.
Ensure that the message is correctly packaged.
Ensure that the message properties are correct.
Ensure that the logical model for this message type is complete (the message set and message type should be quoted in previous messages).


The 2nd repeat of Records element is not working. However I know the above stucture of message set in MQSI 2.1, CSD08 was working fine.
I have tried with different combination like Taged Fixed length instead of group indicator but all efforts are in vain.

Please let me know where I am doing wrong. Thanks in advance
_________________
Regards
Back to top
View user's profile Send private message
juddg
PostPosted: Tue Jun 13, 2006 7:10 am    Post subject: Try the following Reply with quote

Apprentice

Joined: 22 Nov 2004
Posts: 33

Hi,
Please try the following model (untested) :

Code:

MSG_TYPE
   Composition: Ordered Set
   Content Validation: Closed
   Data Element Separation : Tagged Delimited
   Delimiter : <CR><LF>
   Tag Data Separator: # (Dummy value not actually used)
       Element: Records    min 1, max -1  Repeating Element Delimiter:<CR><LF> (Note that no tag is rquired)
                     |
                      Records_Type: Composition: Ordered Set
                     | Content Validation: Closed
                     | Data Element Seperation:Tagged Delimited
                     | Delimiter: <CR><LF>
                     | Length of Tag : 9
                     |--> Element:RecordHeader min 1 max 1 Tag: 000000011
                     |                   RecordHeaderType: Composition: Ordered Set
                     |                  Content Validation: Closed
                     |                  Data Element Seperation: Fixed Length
                     |-->Element:   RecordDetails min 1 max -1 Tag: 000000012 Repeating Element Delimiter:<CR><LF>
                                     RecordDetailsType: Composition: Ordered Set
                                                 Content Validation: Closed
                                                 Data Element Seperation: Fixed Length


Regards,

juddg
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 » Problem with TDS Message Set
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.