About the COBOL sample

This sample provides two scenarios to demonstrate how you can model binary messages by using WebSphere Message Broker.

The first scenario uses two DFDL schema files, OrderList.xsd and PurchaseData.xsd. Both of these DFDL schema files were created by using the COBOL importer for DFDL. This scenario demonstrates modifying the contents of a modeled message, then serialising to a message that has a different model.

The second scenario uses the DFDL schema file, CustomerAddress. The COBOL copybook used to create this schema uses 88-level variables. When using 88-level variables in the DFDL COBOL importer wizard, the result in the DFDL schema file will be an enumeration of the values in the 88-level variable.

The DFDL schema files that are included in this sample accurately model example messages that include:

For a detailed explanation of how to run each scenario, see Running the COBOL sample.

For an explanation of how to re-create these schemas, see Building the COBOL sample.

Back to sample home