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 » Base 36 to Decimal conversion

Post new topic  Reply to topic
 Base 36 to Decimal conversion « View previous topic :: View next topic » 
Author Message
bdrummond
PostPosted: Mon Oct 03, 2011 6:40 am    Post subject: Base 36 to Decimal conversion Reply with quote

Disciple

Joined: 06 May 2004
Posts: 164

We have the need to convert data from alphanumeric (base 36) format to decimal (base 10) within MB.
Does anyone know of any functions within ESQL that would assist with this or at least point me in the direction of where I could find some examples..?
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Oct 03, 2011 6:53 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

There are no built-in functions for number base conversions in ESQL.
Somebody asked a similar question a while ago - try the search box above.
Back to top
View user's profile Send private message
bdrummond
PostPosted: Mon Oct 03, 2011 8:00 am    Post subject: Reply with quote

Disciple

Joined: 06 May 2004
Posts: 164

OK, that's a shame.
I thought that might be the case so have been working on some custom code to do the conversion. That's done now and it seems to be working.
Back to top
View user's profile Send private message
paintpot
PostPosted: Mon Oct 03, 2011 8:56 am    Post subject: Reply with quote

Centurion

Joined: 19 Sep 2005
Posts: 112
Location: UK

Use the java functions, e.g. on Integer

http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html

radix is the same as base.
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 » Base 36 to Decimal conversion
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.