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 » Extended decimal signed

Post new topic  Reply to topic
 Extended decimal signed « View previous topic :: View next topic » 
Author Message
Testo
PostPosted: Tue Nov 02, 2004 5:13 am    Post subject: Extended decimal signed Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

Hi there.

I have searched the forum to look for a similar problem but with no success.

I have an XML message in input with a signed numeric value, let's say '-1.345'. I want to assign this value, padded with '0' when necessary, to a CWF element, defined as follows:

DECIMAL
Extended Decimal
Length Count: 13
Signed: Yes
Sign Orientation: Included Leading
Virtual Decimal Point: 9
Right Justify
Padding Character: '0'

I would expect something like '-0013450000000' and instead of it I get '{0013450000000'

Where I am wrong?

Thanks in advance for any hint,
Andrea Tedone
IBM IT Specialist
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Testo
PostPosted: Tue Nov 02, 2004 8:19 am    Post subject: I got it Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

It was my mistake, reading better the documentation it's clear that I need to set Sign Orientation to Separate Leading.

Cheers,
Andrea
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kirani
PostPosted: Tue Nov 02, 2004 9:08 am    Post subject: Reply with quote

Jedi Knight

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

Also please make sure the receiving application can handle this type of data.
_________________
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
bhaski
PostPosted: Wed Oct 25, 2006 7:37 am    Post subject: DO YOU HAVE ANSWER FOR YOUR QN Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Hi anera

Pls let me know if you have answer for signed decimal conversion in MQ Broker 5 or 6?

Raj
Back to top
View user's profile Send private message
bhaski
PostPosted: Mon Dec 18, 2006 12:20 pm    Post subject: Still you don't have solution? Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Hi

I have done this with making some array and some conversion.

Love and Pray
Bhaski.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Dec 18, 2006 4:15 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That's a good trick.

There are no arrays in ESQL.

Or did you do it in Java?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bhaski
PostPosted: Thu Feb 15, 2007 1:19 pm    Post subject: Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

We can create array in ESQL

like


SET Environment.Variables.POS_MORPH[] = LIST {ROW( '{' AS SYMBOL, '0' AS VALUE ),
ROW( 'A' AS SYMBOL, '1' AS VALUE),
ROW( 'B' AS SYMBOL, '2' AS VALUE ),
ROW( 'C' AS SYMBOL, '3' AS VALUE),
ROW( 'D' AS SYMBOL, '4' AS VALUE ),
ROW( 'E' AS SYMBOL, '5' AS VALUE),
ROW( 'F' AS SYMBOL, '6' AS VALUE ),
ROW( 'G' AS SYMBOL, '7' AS VALUE),
ROW( 'H' AS SYMBOL, '8' AS VALUE ),
ROW( 'I' AS SYMBOL, '9' AS VALUE )};


you can resolve that issue. Sorry for the delayed reply.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 15, 2007 6:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

bhaski wrote:
We can create array in ESQL


That's not an array.

It's a tree.
_________________
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 Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Extended decimal signed
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.