COBOL features not supported
The COBOL Copybook Importer does not handle certain COBOL features that might be in the definition file. If an unsupported statement is encountered, a warning message appears. Types for the following COBOL statements must be added manually to the type tree that is generated by the Importer.
- The COBOL Copybook Importer does not support the THROUGH option in
the VALUES clause. The range of values must to be added manually to the restriction
list for the level 88 item or items that use the THROUGH clause. Alternatively, a
component rule could be placed on the item where it is used. For example, the
following item defined in the copybook could have a component rule specified as:
$ >= "A" & $ <=
"F":
15 CODE-ID PIC X(1). 88 OTM-TRD-GSP VALUE `A' THROUGH `F'.
If you are not concerned with validating codes or values, or both, in your input data that conforms to the copybook definition for a particular item, delete the entire restriction list generated by the COBOL Copybook Importer.
- The COBOL Copybook Importer does not expand any embedded COPY clauses. The data included in the embedded COPY clauses must be manually added to the type tree or added to the copybook before you run the wizard.
- The COBOL Copybook Importer does not support the SYNCHRONIZED clause.