COBOL copybook Specification

The COBOL copybook importer uses as input a copybook file (.cpy) containing data description entries, as defined by the ANSI X3.23 specification with the following exception and additions:

  • Each entry must have either a data-name or the reserved FILLER clause. (This is an exception to the ANSI X3.23 specification).
  • The COBOL copybook importer also supports these USAGE clauses:
    • COMPUTATIONAL-3
    • COMPUTATIONAL-4
    • COMPUTATIONAL-5
    • COMPUTATIONAL-X
    • COMP-3
    • COMP-4
    • COMP-5
    • COMP-X

Trees that are generated by the COBOL copybook importer can be used immediately for map development. However, depending on the contents of the copybook file, it might be necessary for the generated type tree to be modified using the Schema Designer.