ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How can I define a message set that is both TDS and CWF

Post new topic  Reply to topic Goto page Previous  1, 2
 How can I define a message set that is both TDS and CWF « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Wed Jun 06, 2007 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message
ak
PostPosted: Wed Jun 06, 2007 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 06, 2007 7:46 am    Post subject: Reply with quote

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
View user's profile Send private message
ak
PostPosted: Wed Jun 06, 2007 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 06, 2007 8:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How can I define a message set that is both TDS and CWF
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.