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 » Positive sign in TDS decimal type

Post new topic  Reply to topic
 Positive sign in TDS decimal type « View previous topic :: View next topic » 
Author Message
fjcarretero
PostPosted: Mon May 17, 2004 4:14 am    Post subject: Positive sign in TDS decimal type Reply with quote

Voyager

Joined: 13 Oct 2003
Posts: 88

Hi all,

I am trying to create a decimal field with the following pattern:
Length: 19
Precision: 4
Sign orientation: trailing
Positive sign: ' ' (space)
Negative sign: '-'

It works fine with negative numbers, but if I put a positive number the sign is missing. I have tried to change the positive sign to another character without luck.

Does anyone know about a defect or am I doing something wrong?

TIA

Regards
Felipe[/code]
Back to top
View user's profile Send private message
wooda
PostPosted: Mon May 17, 2004 5:22 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

Hi again Felipe -

In TDS on output a positive sign is not written.
It writes out no sign at all if the decimal is positive.
TDS will parse the positive sign so it does matter what you put there.

If you want to make sure you output with a sign every time maybe you could try CWF as you mentioned before that all your data is fixed length.

Alternatively you could contact IBM.

regards,

Alex
Back to top
View user's profile Send private message
fjcarretero
PostPosted: Mon May 17, 2004 5:50 am    Post subject: Reply with quote

Voyager

Joined: 13 Oct 2003
Posts: 88

Thanks again Alex.

I can't use CWF. All the fields in a record are fixed length, but the number of records is undefined.

Regards
Felipe
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 » Positive sign in TDS decimal type
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.