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 get default zeros

Post new topic  Reply to topic
 how to get default zeros « View previous topic :: View next topic » 
Author Message
anil kumar
PostPosted: Sun Feb 19, 2017 10:09 pm    Post subject: how to get default zeros Reply with quote

Voyager

Joined: 22 Jan 2017
Posts: 97
Location: India

hii all i have a quick doubt how to get a variable with the value of 30 zeros
ie example i=000000000000000000000000000000;
what shpuld i do to get that as varible value in program
Back to top
View user's profile Send private message
adubya
PostPosted: Mon Feb 20, 2017 12:46 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

For a CHAR variable type look at the REPLICATE function.
_________________
Independent Middleware Consultant
andy@knownentity.com
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Feb 21, 2017 5:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Any numeric variable only has zero as a value. The number of zeros is only valuable as a display field when the variable is output, and you're better off doing that through the DFDL model for that variable.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 get default zeros
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.