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 Parser issue --->>>adding spaces

Post new topic  Reply to topic
 DFDL Parser issue --->>>adding spaces « View previous topic :: View next topic » 
DFDL Was introduced in what version of WMB
8.0.0.2
0%
 0%  [ 0 ]
8.0.0.1
11%
 11%  [ 1 ]
8.0.0.0
88%
 88%  [ 8 ]
Total Votes : 9
Author Message
wmc27
PostPosted: Thu Jun 20, 2013 9:21 pm    Post subject: DFDL Parser issue --->>>adding spaces Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 31

Hello,

My ENV WMB 8.0.0.2

Flow -->MQI/P --->Compute >>>>MQO/P

SET OutputRoot.DFDL.xxxx.QTY='A';

In DFDL Schema the Length of QTY is 10,Output that i got from the above ESQL is

A _ _ _ _ _ _ _ _ _ ( _ Indicates spaces)

Looks like the DFDL parser is passing additional spaces.

Do you have any TEMP fix for the above issue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 20, 2013 10:46 pm    Post subject: Re: DFDL Parser issue --->>>adding spaces Reply with quote

Grand High Poobah

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

wmc27 wrote:
Hello,

My ENV WMB 8.0.0.2

Flow -->MQI/P --->Compute >>>>MQO/P

SET OutputRoot.DFDL.xxxx.QTY='A';

In DFDL Schema the Length of QTY is 10,Output that i got from the above ESQL is

A _ _ _ _ _ _ _ _ _ ( _ Indicates spaces)

Looks like the DFDL parser is passing additional spaces.

Do you have any TEMP fix for the above issue.

Did you look at pad-kind and pad value of the field?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wmc27
PostPosted: Fri Jun 21, 2013 5:52 am    Post subject: Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 31

How to insert the image to this thread,I have the DFDL properties screen shot and i would like to post that here,

Thx
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jun 21, 2013 6:15 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Can I suggest that you
a) answer the question from fjb_saper
b) look in the DFDL Trace and see if you can work out the answer from there.

The DFDL Trace ( in code tags ) would be more useful than an image of your screen.
Back to top
View user's profile Send private message
shanson
PostPosted: Wed Jun 26, 2013 3:58 am    Post subject: Reply with quote

Partisan

Joined: 17 Oct 2003
Posts: 344
Location: IBM Hursley

I don't understand what the problem is.
You have defined the length of QTY to be 10 (assuming dfdl:length='10' and dfdl:lengthLKind='explicit').
You have set the value to be 'A'.
The DFDL serializer must output 10 characters so it has output 'A.........' ie, A plus 9 spaces (assuming dfdl:textPadKind='padChar', dfdl:textStringPadCharacter='%SP;', dfdl:textStringJustification='left').
What did you expect to see output?
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 Parser issue --->>>adding spaces
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.