The purpose of the COBOL importer is to represent the COBOL data structures in a DATA model (CAM) - EMF resource. It is the responsibility of the tool providers to extract information from the resource and use it for their own purpose. The importer reports any syntax errors that occur in the environment and division, and disregard any procedure division messages.
Using the COBOL Importer
The following list outlines requirements and limitations for using the COBOL importer:
Here is an example of a wrapper program: ex.cbl

| Figurative Constant | ValueKind | initVal |
| SPACE | spaces | " " |
| QUOTE | quotes | """ or "'" |
| ZERO | zero_value | "0" |
| HIGH-VALUE | high_value | "0" since we do not support this |
| LOW-VALUE | low_value | "0" since we do not support this |
| NULL | null | "0" |
Input
In order for a COBOL file to be successfully imported into your project, it must be a complete COBOL program or copybook. The importer is sensitive to file extensions, and files with incorrect extensions causes an importer error.
Output
On successful import of the COBOL importer source, an EMF resource (CAM data model) is returned.