|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Complex Cobol Copy book |
« View previous topic :: View next topic » |
Author |
Message
|
senthil_4u |
Posted: Mon Sep 27, 2010 8:58 pm Post subject: Complex Cobol Copy book |
|
|
Newbie
Joined: 27 Sep 2010 Posts: 3
|
Can someone guide me to create a messageset for this complex cobol copy book. I have furnished the sample data and the logical message tree for your review.
It would be so create if someone can guide me to create the message set for the following sample data/message tree.
Sample Data
------------
01ABCDEFGH
02ABCDEFGH
03ABCDEFGH
04ABCDEFGH
05ABCDEFGH
99ABCDEFGH
Logical Message Tree
--------------------
01
|ABCD
|EFGH
02
|ABCD
|EFGH
03
|ABCD
|EFGH
|04
|ABCD
|EFGH
|05
|ABCD
|EFGH
99
|ABCD
|EFGH |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Sep 28, 2010 1:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This is a fairly simple copy book.
You need a choice of tagged fixed length elements. |
|
Back to top |
|
 |
senthil_4u |
Posted: Tue Sep 28, 2010 1:52 am Post subject: |
|
|
Newbie
Joined: 27 Sep 2010 Posts: 3
|
Thanks for your reply....actually the message tree is displayed wrongly in this forum ....the space is remove so the entire parent and child relationship got mismatched....actually tag 04 is child of tag 03 and similary tag 05 is child of tag 04. ....now kindly suggest me how to build the messageset for this hierarchy....Thanks in advance
Logical Message Tree
--------------------
01
||ABCD
||EFGH
02
||ABCD
||EFGH
03
||ABCD
||EFGH
||04
|||||| |ABCD
|||||| |EFGH
|||||| |05
|||||||||||||ABCD
|||||||||||| |EFGH
99
||ABCD
||EFGH |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Sep 28, 2010 2:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can use [ code ] tags to preserve formatting.
The parent-child relationship you have now described potentially has made your model *simpler*, as it may have removed any need to look for anything other than a specific record in a specific place... that is, you may have a model that will always start with record 01, be immediately followed by record 02, and then record 03 and then record 99, without any need for a choice at all.
In general, you haven't really indicated reasons why you can't just model this as a set of fixed length records.
It's still a simple model. Go back to the broker forum and find the sticky post at the top that links to the third-party tutorial on tagged, fixed length messages. |
|
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
|
|
|
|