Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MoDisco/Cobol

The Cobol metamodel defines the concepts needed to represent COBOL programs (compliant with ANSI-85 norm).

Cobol metamodel contains 109 metaclasses. To better understand it, this page will introduce the main features (metaclasses and links).

You could also browse definition model cobol.ecore available in sources (see install section).


Main metaclasses

CobolProgram

A COBOL program is represented by an instance of CobolProgram.

A CobolProgram has links to a IdentificationDivision, a DataDivision and a ProcedureDivision.

CobolProgram metaclass

DataDivision

The data division defines the data manipulated by the COBOL program.

DataDivision metaclass

ProcedureDivision

ProcedureDivision metaclass

NodeForStatementRepresentation

NodeForStatementRepresentation metaclass

ControlStatements

ControlStatement metaclass

NonControlStatements

NonControlStatement metaclass

NodeForDataRepresentation

NodeForDataRepresentation metaclass

Requirements

To use the plug-in you need:

  • JDK 1.5 or above
  • a version of Eclipse 3.3 or above with the following set of plugins installed
  • EMF 2.3.0 or higher

Back to the top