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 » How to set size for integer

Post new topic  Reply to topic
 How to set size for integer « View previous topic :: View next topic » 
Author Message
arunkumar1989
PostPosted: Thu Jan 08, 2015 8:00 am    Post subject: How to set size for integer Reply with quote

Voyager

Joined: 21 Nov 2012
Posts: 98
Location: Chennai

Hi all,

My Requirement is form a 3 digit integer

While getting from db/input may be a 0 to 99 or any value
if it is 0 to 99 mean i have to make it as three digit value

Example : If i`m getting 99 mean i have to form as 099

Can anybody help on this

Thanks in advance
_________________
Being in a crowd when you are alone is ignorance. Enlightenment is being alone in a crowd; a feeling of oneness in a crowd.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Jan 08, 2015 8:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Integers have no format when stored as ESQL variables.

Ask yourself what part of broker is responsible for turning fields in the logical message tree into data that has a format.

Change that to do what you need.

Welcome to IIB. Happy Learning. The Knowledge Center is incredibly useful, if you spend time reading it.
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 » How to set size for integer
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.