Posted: Sun Jul 03, 2011 7:34 am Post subject: Fixed length Message Set for multiple line input
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.
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.
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