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 » Missing fields in Fixed length

Post new topic  Reply to topic
 Missing fields in Fixed length « View previous topic :: View next topic » 
Author Message
madi
PostPosted: Thu Jul 07, 2011 8:28 am    Post subject: Missing fields in Fixed length Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

Hey All

Is there a way to handle missing fields in the input fixed length data records? Missing fields are only at the end of the record.

I found the setting to trim the records if the remaining fields in the record are empty when we write the data out. Wondering if we can handle the same if it comes as input?

Thanks
madi
_________________
IBM Certified Solutions Developer - WMB 6.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 07, 2011 12:37 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read the line, check the length and pad with spaces to the required length.
Then you can put it through a reset content descriptor node to parse...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
madi
PostPosted: Thu Jul 07, 2011 1:17 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

yeah I knew that was an option but was hoping someone would say go check that property and broker will set the remaining fields to null

oh well, have to do it hard way
_________________
IBM Certified Solutions Developer - WMB 6.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 07, 2011 1:56 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

madi wrote:
yeah I knew that was an option but was hoping someone would say go check that property and broker will set the remaining fields to null

oh well, have to do it hard way

you can have that done on output. Not on input.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Missing fields in Fixed length
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.