DFDL Was introduced in what version of WMB |
8.0.0.2 |
|
0% |
[ 0 ] |
8.0.0.1 |
|
11% |
[ 1 ] |
8.0.0.0 |
|
88% |
[ 8 ] |
|
Total Votes : 9 |
|
Author |
Message
|
wmc27 |
Posted: Thu Jun 20, 2013 9:21 pm Post subject: DFDL Parser issue --->>>adding spaces |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Jun 20, 2013 10:46 pm Post subject: Re: DFDL Parser issue --->>>adding spaces |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
wmc27 |
Posted: Fri Jun 21, 2013 5:52 am Post subject: |
|
|
 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 |
|
 |
kimbert |
Posted: Fri Jun 21, 2013 6:15 am Post subject: |
|
|
 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 |
|
 |
shanson |
Posted: Wed Jun 26, 2013 3:58 am Post subject: |
|
|
 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 |
|
 |
|