Creating a DFDL schema file from a COBOL resource

Create a DFDL schema file from an existing COBOL resource.

Before you begin

Linux platformThe COBOL importer requires 32-bit versions of the Linux® operating system libraries. Some of these libraries are not installed by default on the following distributions:
  • Red Hat Enterprise Linux V6 64-bit
  • Ubuntu 10.4 or later, 32-bit and 64-bit
For details of which libraries to install, see https://www.ibm.com/support/docview.wss?uid=swg21512074

About this task

Using the wizard, you can create a DFDL schema file by:
  • Importing a COBOL copybook or program.
    Note: The copybook must not contain field names that are COBOL reserved keywords. Also, the COBOL importer can only import files that have file names of 60 characters long or less. If you attempt to import a COBOL file with a name longer than 60 characters, the COBOL importer fails with the message IWAA0652E: File name cannot be longer than 60 characters.
  • Importing or replacing the IBM-supplied DFDL COBOL format schema.

Procedure

  1. Click File > New > Other > Message Model, and select COBOL.
  2. Step through the wizard to create the DFDL schema file.