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 » DFDL FIXED LENGTH empty default value to un mapped feilds

Post new topic  Reply to topic
 DFDL FIXED LENGTH empty default value to un mapped feilds « View previous topic :: View next topic » 
Author Message
anil kumar
PostPosted: Thu Feb 16, 2017 5:55 am    Post subject: DFDL FIXED LENGTH empty default value to un mapped feilds Reply with quote

Voyager

Joined: 22 Jan 2017
Posts: 97
Location: India

hello all ,this is my first post in forum,
im using mapping node to map CSV file with Fixed length file where fixed length fields are nearly 50+,
im mapping my input csv of 11 fields with fixed lengths 11 fields where as remaing un mapped fields need to be in the ouput put with empty places .
please help me with that

example input ,anil,kumar,varma

csv dfdl
field 1 ----->>> field 1 (length 4)
field 2 field 2 not mapped (length 5)
field 3 ------>>>field 3 (length 5)


expected output
anil kumar (i.e anil( fiveplaces )kumar)

i have used string padding
nill kind and have set to proert %ES;



Back to top
View user's profile Send private message
martinb
PostPosted: Mon Feb 20, 2017 9:07 am    Post subject: Reply with quote

Master

Joined: 09 Nov 2006
Posts: 210
Location: UK

Have you considered setting a default value of the required fixed length of spaces for these fields that will not be mapped?
Back to top
View user's profile Send private message
anil kumar
PostPosted: Thu Feb 23, 2017 2:11 am    Post subject: Reply with quote

Voyager

Joined: 22 Jan 2017
Posts: 97
Location: India

yeah problem solved thanks
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 » DFDL FIXED LENGTH empty default value to un mapped feilds
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.