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 serialization issue

Post new topic  Reply to topic
 DFDL serialization issue « View previous topic :: View next topic » 
Author Message
catshout
PostPosted: Mon Jan 12, 2015 6:03 am    Post subject: DFDL serialization issue Reply with quote

Acolyte

Joined: 15 May 2012
Posts: 57

I've a DFDL structure (derived from a Cobol CopyBook) that has been filled by a IIB Map. While trying to serialize the DFDL tree I'm getting a message

"Error code 5832, An error occurred whilst serializing with DFDL, CTDU4035E: Unsupported feature: The IBM DFDL processor cannot assign a default value to a choice group. , /DFDL/ARXAAI6INPUTDATA/ARXAAI_BASE_ACCT_DATA/ARXAAI_OWNING_BRANCH_NBR_X"

The DFDL stanza with this element looks like

Code:
            <xsd:element dfdl:lengthKind="implicit" name="ARXAAI_OWNING_BRANCH_NBR_X">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element default="0" dfdl:decimalSigned="no" dfdl:length="9" dfdl:textNumberPattern="000000000+" name="ARXAAI_OWNING_BRANCH_NBR">
                    <xsd:annotation>
                      <xsd:documentation>PIC 9(9) display</xsd:documentation>
                    </xsd:annotation>
                    <xsd:simpleType>
                      <xsd:restriction base="dfdlCobolFmt:PIC9-Display-Zoned__int">
                        <xsd:minInclusive value="0"/>
                        <xsd:maxInclusive value="999999999"/>
                      </xsd:restriction>
                    </xsd:simpleType>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>


The Local Map stanza for this element looks like

Code:
                <local>
                    <input path="."/>
                    <output path="ARXAAI_OWNING_BRANCH_NBR_X"/>
                    <convert defaultValue="0">
                        <input path="BankBranch"/>
                        <output path="ARXAAI_OWNING_BRANCH_NBR"/>
                    </convert>
                </local>


Any suggestions what I'd have been missing here?
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jan 12, 2015 6:50 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

The error message is referring to a choice group. There are no choice groups in that DFDL schema. Are you sure that you have quoted the correct part of the DFDL schema?

It's possible that the reported symptom is not the root cause of the problem. If the model is incorrect the parser can stay on its feet for a long time after things have gone wrong. A DFDL Trace ( either from the toolkit's DFDL Debug perspective, or from the runtime via a debug-level user trace ) might be a useful next step.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
catshout
PostPosted: Mon Jan 12, 2015 9:03 am    Post subject: Reply with quote

Acolyte

Joined: 15 May 2012
Posts: 57

Finally I've played around with the stuff and a Trace Node. I've seen that the field inside the sequence hasn't been mapped (neither with the Convert nor with any other Cast Function). An Assign of an explicit value works.

Have opened a PMR for this issue.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Jan 12, 2015 12:13 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I've seen that the field inside the sequence hasn't been mapped (neither with the Convert nor with any other Cast Function). An Assign of an explicit value works.
Check that the schema used on the left of your map is a correct description of the input data. If the input message tree structure doesn't match that left-hand schema then the Mapping node will not be able to find (some or all of) the input fields.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
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 serialization issue
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.