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 » Fixed length Message Set for multiple line input

Post new topic  Reply to topic
 Fixed length Message Set for multiple line input « View previous topic :: View next topic » 
Author Message
someonesumit
PostPosted: Sun Jul 03, 2011 7:34 am    Post subject: Fixed length Message Set for multiple line input Reply with quote

Novice

Joined: 18 Sep 2009
Posts: 16

Hi,

I am trying to transform message from multiple line fixed length string to XML getting stuck.

MB Version : 6.1

Input Message:

header -- fixed length
Body -- n lines data -- fixed length
tailer -- fixed lenth

I would need this to be converted into XML message as below:
<Message>
<header>header data<header>
<body>body line1 data</body>
<body>body line2 data</body>
<body>body line3 data</body>
<tailer>tailer data</tailer>
</Message>

My data has 1st initial character that can recognize the header , body and tailer.

Example is given below:
1WS 0098901
AWS SUMIT KUMAR
AWS RAVI KUMARR
AWS ABCDFER SSD
9WS 00987654

I am able to get the header and body, but not able to configure for tailer.

Please suggest me how to proceed for such kind of scenario.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Jul 03, 2011 11:51 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Please can you describe how you have modelled your message. In particular, please describe the logical structure of your message set and the Data Element Separation settings that you have used on each complex type.
Please also describe what is going wrong when you try to parse your message, and quote any error messages in full.
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 » Fixed length Message Set for multiple line input
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.