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 Decimal

Post new topic  Reply to topic
 TDS Decimal « View previous topic :: View next topic » 
Author Message
djeripo
PostPosted: Mon May 17, 2004 12:06 pm    Post subject: TDS Decimal Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

I am trying to create a Decimal Element in TDS .
It throws up the following error while trying to check-in

'BIP1950E: Invalid value (-1) for property (Precision) on tab (TDS) in message repository resource (Element, AMT).

An error has been detected when creating or updating a message repository resource (Element, AMT). The value (-1), for property (Precision) on tab (TDS) is not valid.

Change the value and retry the operation. '

I am expecting a Decimal Data in my message something like,
123456.78

In TDS tab I gave
Length 8
Virtual Decimal Point 2

Am I missing something somewhere?
Back to top
View user's profile Send private message Visit poster's website
kirani
PostPosted: Mon May 17, 2004 11:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

What is your Data Element Separation property set to?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
wooda
PostPosted: Tue May 18, 2004 2:13 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

You can't have Virtual Decimal Point and Precision both set. I guess you must have "touched" precision even though it is still set to it's default it is complaining. This is a v2.1 control center bug I guess.

The answer ? Go to precision field and delete the value in there
(Currently set to All Significant Digits) leaving it completly blank.
Should be ok then

regards

Alex
Back to top
View user's profile Send private message
djeripo
PostPosted: Tue May 18, 2004 7:09 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Kiran , My Data Element Separation property is set to 'FixedLength'.
Thanks Alex,I could successfully check in after making precision field blank. I am just wondering what would be the significance of precision values 'All significant Digits' and 'Explicit Decimal Point' .Should the behaviour be normal despite making precision blank .
Back to top
View user's profile Send private message Visit poster's website
wooda
PostPosted: Wed May 19, 2004 12:26 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

If you are using Virtual Decimal Point then precision is meaningless.
This is why you can't have both set.

You have a have virtual decimal point to be inserted at the offset you specify in "Virtual Decimal Point" so this implies you don't have a real decimal point. the number will appear in the bitstream as an integer and the decimal point will not be written at all bit decimal digits will be written to the roight of the number. the VDP tells the parser where the virtual decimal point lies.


Precision is to control how much precision is written after a REAL decimal point.
Explicit Decimal Point means a REAL decimal point will be written even for a whole number with no decimal part.
All Significant Digits means exactly what it says. All the available significant digits will be written after the decimal point. trailing zero's after the DP will be removed.
And putting an integer in Precision will mean a fied number of decimal places will be written.
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 Decimal
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.