|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Issue with Message Set |
« View previous topic :: View next topic » |
Author |
Message
|
saurabh867 |
Posted: Wed Dec 21, 2011 10:19 pm Post subject: Issue with Message Set |
|
|
Voyager
Joined: 13 Jun 2010 Posts: 78
|
Hi,
I have a message set with the structure like this :
Code: |
Records <Complex Type> - All Elements Delimited - Delimiter (<CR><LF>)
HD <Complex Type> - All Elements Delimited - Delimiter (|) 0-1
Elem1 0-1
Elem2
.
.
Record <Complex Type> - Use Data Pattern 0 -1
RT01 <Complex Type> Data pattern '01' - All Elements Delimited - Delimiter (|) 0-1
RT02 <Complex Type> Data pattern '02' - All Elements Delimited - Delimiter (|) 0-1
RT03 <Complex Type> Data pattern '03' - All Elements Delimited - Delimiter (|) 0-1
TR <Complex Type> - All Elements Delimited - Delimiter (|) 0-1
Elem1 0-1
Elem2
|
Now with this structure, If I use this at the output side , the output comes fine. But when I pass my output to MQInput with validation enabled, It fails with the below message :
Code: |
Missing markup following a complex child or group 195^Record
|
The sample data that comes out from the output side which I am passing to MQInput node is :
Code: |
HD|Metso USA Inc.|rcihrsap.txt|20111222 11:40:06|.txt
02||4567|Dennis||Wang||test99 test02|Test Ad02|Test Ad01|020|390000||||||01011999||M|S|07271976|||39995356||||||
03||4567||01011999|||01011999|||||||||||||||||
07||4567|||08012011|||Y|060268|987654323456787654|||
01|123||08012011|||||A|HIR|NPS|||R||||||||||||||||||||||||||||||||||||
02|123||Dennis||Wang||test99 test02|Test Ad02|Test Ad01|020|390000||||||01011999||M|S|07271976|||39995356||||||
03|123|||01011999|||01011999|||||||||||||||||
07|123||||08012011|||Y|060268|987654323456787654|||
TR|00000001|00000002|00000002|000000000|000000000|000000000|00000002|000000000|000000000
|
Am I doing anything wrong in the message set creation?
Regards,
Saurabh |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 22, 2011 2:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This is really just a CSV message structure, using "|" instead of a comma... At least as far as I can tell.
You also don't indicate the type of the structures. For example, unless it was known that there was a fixed order of occurence for the children of Record, I would make it a choice and not a sequence and use the tag at the front to resolve the choice. |
|
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
|
|
|
|