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 » Conversion Problem in MRM Contrl Centre

Post new topic  Reply to topic
 Conversion Problem in MRM Contrl Centre « View previous topic :: View next topic » 
Author Message
satyasheel15
PostPosted: Sun May 18, 2003 10:54 pm    Post subject: Conversion Problem in MRM Contrl Centre Reply with quote

Voyager

Joined: 04 Mar 2003
Posts: 86

Question:
I have a element in MRM [Control Center] which is defined as STRING and taking in a data of fixed length 18.

I need to get the output as decimal with a precesion (14,2).

eg:
Input: 000000000046785000

Expected Output: 4678,5

So I need :

1. How can we get the desired output as mentioned above.
2. Do we have to change the DATATYPE of the element in the MRM.
3. Please provide the ESQL Code for the transformation.

Regards Always

Satyasheel
Back to top
View user's profile Send private message Send e-mail MSN Messenger
shalabh1976
PostPosted: Mon May 19, 2003 8:37 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

CAST(SUBSTRING(element FROM 1 FOR 16) AS DECIMAL(14,2))

should do it
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Conversion Problem in MRM Contrl Centre
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.