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.
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).
Contents
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.
DataDivision
The data division defines the data manipulated by the COBOL program.
ProcedureDivision
NodeForStatementRepresentation
ControlStatements
NonControlStatements
NodeForDataRepresentation
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
Install
You will find a version of this plug-in attached in following bug.
As IP review of this plugin is not finished, here are installation instructions :
- Extract archive file in your Eclipse workspace, then use "import" menu to import this project.
- Use "export" menu to export this project as a plugin (Deployable plugins and fragments) in your Eclipse installation. Don't forget to choose "Package plug-ins as individual jar archives" option.
- re-start your Eclipse to take in account this plug-in