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 » TDS Signed Packed Decimals

Post new topic  Reply to topic
 TDS Signed Packed Decimals « View previous topic :: View next topic » 
Author Message
sido
PostPosted: Mon Feb 02, 2004 4:17 pm    Post subject: TDS Signed Packed Decimals Reply with quote

Novice

Joined: 02 Feb 2004
Posts: 23

I am trying to have an Input TDS Message Set with Choice Type to determine which of 4 possible message types come in. Now, under each, I have to declare Signed Numbers that correspond to PIC S9(n) OR PIC S9(n) COMP-3. The sign comes appended to the last number of the Integer. In the TDS Tab, I can see the Sign Setting possible but not really the Packed Decimal Declaration. From what I see in the TDS tab, I need to know if there is a way of doing the following:
1) Telling the Broker that the number in question is a Packed Decimal
2) Having the option of saying the sign would be part of the last digit -
(I know this is possible in the CWF format)
Back to top
View user's profile Send private message
wooda
PostPosted: Tue Feb 03, 2004 1:28 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

In TDS you cannot model packed decimal nor can you model a sign included in the last digit.
TDS is a character format. All numerics are expected to be input in character form.
As you rightly say both these functions are available in CWF.
Is there a reason why CWF is not appropriate for your model ?
Back to top
View user's profile Send private message
wooda
PostPosted: Tue Feb 03, 2004 1:30 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

btw. CWF performs better than than TDS. And therefore is the better option if your model can be modelled using CWF.
Back to top
View user's profile Send private message
sido
PostPosted: Tue Feb 03, 2004 10:01 am    Post subject: Reply with quote

Novice

Joined: 02 Feb 2004
Posts: 23

The reasons for using TDS are:
1) We have 4 types of messages coming into ONE queue
2) The message lengths are never the same as there are a lot of optional elements
3) We didnt want to have to parse the Message using a field in the Application Header.

Using TDS, I have defined a Compund Message Type 'Choice' which has my four possible structures under it. Each of these messages has a 1-byte Tag preceding the data which we use to determine which of the 4 possible messages it is. We are having the Host prefix this 1-byte to the data it was sending us earlier. I knew that the Choice Type was possible in CWF but I wanted to take advantage of the tag options in TDS. Furthermore, I was told that CWF has performance issues!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » TDS Signed Packed Decimals
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.