|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
How can I define a message set that is both TDS and CWF |
« View previous topic :: View next topic » |
Author |
Message
|
kimbert |
Posted: Wed Jun 06, 2007 3:18 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Let me repeat that. CWF will not be able to parse your messages. Use TDS only |
|
Back to top |
|
 |
ak |
Posted: Wed Jun 06, 2007 7:39 am Post subject: |
|
|
Apprentice
Joined: 07 Aug 2006 Posts: 48 Location: England
|
But ... TDS will split the message into individual records or lines for that matter but each record - well defined fixed length i.e. CWF - will not be split into individual fields? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 06, 2007 7:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
For at least the third time.
You can do EVERYTHING you need to do with TDS.
TDS is perfectly capable of handling fixed length fields.
If your individual records can be parsed by CWF, then UNLESS THEY HAVE BINARY DATA IN THEM, they can be parsed by TDS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ak |
Posted: Wed Jun 06, 2007 8:23 am Post subject: |
|
|
Apprentice
Joined: 07 Aug 2006 Posts: 48 Location: England
|
Folks
Okay, gone back to square one! I will try this again putting all your suggestions into consideration especially
Quote: |
1) Add a TDS physical layer to your CWF message set
2) Create a new Complex Type. This should have a type composition of "choice", and contain elements of the types that describe each of your records - So a Record1 element, Record2, etc.
3) Set the correct TDS properties your message. The new type should be Tagged, Fixed Length, with a group delimiter of your line feed. Each Record type should be Fixed Length. Each Record Element in the choice type should have the record code set as the Tag.
4) Create a new Message, that consists of an element of the choice type from 2, that can repeat an unlimited number of times.
|
which seem to suggest using a TDS layer on top of an already defined CWF ... but there we go!!!
Will let you know the outcome. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 06, 2007 8:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's not really using it "on top of" the CWF.
You can only specify one Message Format (TDS, XML, CWF) for a given message in the MRM Message Domain.
I suggested using the same message set as your existing CWF, so that you did not have to redefine all your elements and types.
I'm sorry we're having such difficulty communcating - but I keep getting surprised by what you seem not to know. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|