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 » NullPadFill in message definition doens't work

Post new topic  Reply to topic
 NullPadFill in message definition doens't work « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Mon Jan 31, 2011 8:40 am    Post subject: NullPadFill in message definition doens't work Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Hi,

in the message definition, since all fields are manditory, I set Encoding Null to NullPadFill for fixed length strings, and NullliteralFill and space for packed decimal.

I anticipate that this will ensure the parser will automatically fill in fields not present in the incoming message with padding characters.

But it doesn't.

Is this what the parser is supposed to do? or I'm missing sth here.

thanks for sharing your insight.


_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jan 31, 2011 11:15 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Is this what the parser is supposed to do? or I'm missing sth here.
You're missing something. The null properties describe what an element looks like when it has a null value - not when it is completely missing.

The null handling properties do not apply to your scenario. What you need is a default value - but the MRM parser does not apply default values when parsing. If you are writing fixed-length data then you should be able to set default values for the fields and get what you need.
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 » NullPadFill in message definition doens't work
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.