WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Adding a user-defined variable

You can use a user-defined variable to specify a value in your DFDL schema that is used in parsing your message, but varies between messages. Variables are defined as top-level annotations in a schema. A variable holds a value that can be set once, and then accessed from DFDL expressions in property values, asserts, and discriminators.

Before you start:

Create or open a DFDL schema file. See DFDL schema editor for a description of the DFDL schema editor.
  1. In the Outline view, right-click Variables, then select Add a Variable Definition.
  2. Type a name and select a data type for your user-defined variable.
  3. Edit the default value of your new variable.
  4. Save your message model.
Your user-defined variable is added to the DFDL schema.
Add your user-defined variable to a DFDL schema object. See Setting variables on a schema object.
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:48:34


Task topicTask topic | Version 8.0.0.7 | df20100_