Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MoDisco/Cobol

< MoDisco
Revision as of 13:13, 23 February 2009 by Fmadiot.mia-software.com (Talk | contribs) (CobolProgram)

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.

Assembly Namespace and Type


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

Back to the top