|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
tagged Fixed length |
« View previous topic :: View next topic » |
Author |
Message
|
saikumar009 |
Posted: Sat May 30, 2015 1:28 am Post subject: tagged Fixed length |
|
|
Newbie
Joined: 30 May 2015 Posts: 1
|
Need your help guys, below is my requirement
I will receive a message, which consists of multiple records
example : Message 1 :
20-----
30-----
40-----
50-----
50-----
50-----
40-----
50-----
there is no limit for the occurrence of 30,40 and 50... and can occur in any order.
Please note that each 20, 30, 40, 50 are complex types and has elements of fixed length (total length is 308).
I have tried creating a dfdl parser with which am able to read a file which has a single occurrence however am unsuccessful for creating multiple occurrences.
Can you please help me out on this please.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat May 30, 2015 9:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
how about an anonymous record type occurring 0 to n with a choice of all possible record types?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 01, 2015 4:40 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
how about an anonymous record type occurring 0 to n with a choice of all possible record types?  |
It doesn't necessarily have to be an anonymous type. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 01, 2015 6:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
fjb_saper wrote: |
how about an anonymous record type occurring 0 to n with a choice of all possible record types?  |
It doesn't necessarily have to be an anonymous type. |
What the OP describing is a common M/F file format, popular with COBOL developers back in the day. We have a number of them here. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|