Creating a Schema for a File Described by a COBOL Copybook

To create a schema for a file described by a COBOL Copybook, you use the Import COBOL copybook Wizard in the Schema Editor.

Example:

If the Cobol copybook looks like:

06 ACCT-ID PIC X(10)

06 MTR_ID PIC X(08)

06 MTR_READ PIC 9(10)

06 MTR_READ_DT PIC 9(8)

Then the generated Schema looks like this: