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 » How to fix the DFDL schema

Post new topic  Reply to topic
 How to fix the DFDL schema « View previous topic :: View next topic » 
Author Message
wmc27
PostPosted: Thu Jun 20, 2013 7:34 pm    Post subject: How to fix the DFDL schema Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 31

My environment WMB 8.0.0.2

I am converting XML to flat file,

i am constructing the flat file in ESQL
SET OutputRoot.DFDL.xxx.xxxxx.field1=COALESCE(inRef.FIELD1,' ');
SET OutputRoot.DFDL.xxx.xxxxx.field2=COALESCE(inRef.FIEL1,' ');
etc....

Generated output is
04500870AAAAAAAA HD 00000000
00068090 BBBBBBBB CD 00000000
00007800 CCCCCCC KJ 00000000
etc..

But somehow 04500870 are generating/added before each record when the messages are propagating to MQOutput Node

i know it has something to do with the DFDL schema,Coz i am NOT writing any ESQL to generate these(04500870/00068090/00007800)

How to fix the DFDL schema to avoid any numbers before each record.
Back to top
View user's profile Send private message
kash3338
PostPosted: Thu Jun 20, 2013 7:39 pm    Post subject: Re: How to fix the DFDL schema Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

wmc27 wrote:
How to fix the DFDL schema to avoid any numbers before each record.


What is your FIELD1 in input XML? What is your field1 in your DFDL schema?
Back to top
View user's profile Send private message Send e-mail
wmc27
PostPosted: Thu Jun 20, 2013 7:53 pm    Post subject: Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 31

FIELD1 in input XML is SCP

field1 in your DFDL schema is QTY

i assume it is something to do with the DFDL Schema root tag as the root tag length is 8 digits

and 04500870 is 8 digits too...
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jun 21, 2013 3:33 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Er, two questions:
1. How do you expect us to answer your question when you have not supplied *any* details about the DFDL schema that you are using?
2. Have you looked at the DFDL Trace emitted by the serializer?

Please answer both questions.
Back to top
View user's profile Send private message
wmc27
PostPosted: Fri Jun 21, 2013 5:38 am    Post subject: Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 31

kimbert,

Problem solved,

Its not an issue with the DFDL schema.RFHUtil has generated that information,

Thx all for you time.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 21, 2013 7:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

wmc27 wrote:
kimbert,

Problem solved,

Its not an issue with the DFDL schema.RFHUtil has generated that information,

Thx all for you time.


So what you're saying is, you completely failed to understand that RFHUtil showed you two separate views of the message data, one in hex and one in "characters".

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 » How to fix the DFDL schema
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.