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 » Padding String Field with Zeros

Post new topic  Reply to topic
 Padding String Field with Zeros « View previous topic :: View next topic » 
Author Message
mikeaadam
PostPosted: Tue Oct 28, 2003 8:21 am    Post subject: Padding String Field with Zeros Reply with quote

Newbie

Joined: 30 Apr 2003
Posts: 3

Can a string field be padded with zeros? If so, may I
know what's the value for padding characters? Padding
characters 0000 & 00 does not work (output with
blanks).

Thanks a lot.
Back to top
View user's profile Send private message Visit poster's website
Craig B
PostPosted: Tue Oct 28, 2003 10:12 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Hi,

It should be possible to pad a String with zeroes. On the CWF physical format, the padding character of '0' is selectable from the drop down list.
In your append you mention that the tried 0000 and 00. It should be noted that the padding character should be a single character and not a string of characters.

It should also be noted that padding characters are only used in Fixed length environments such as on the CWF physical format and TDS Fixed length data element separations.

If this does not help you can you be more specific about what you have set in your MRM messageSet and what your output message is being created as and what you actually expect.

Thanks.
_________________
Regards
Craig
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 » Padding String Field with 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.