While this page is primarily about the structure analysis tool, the process by which the tool was developed fits neatly as a demonstration of our recommended process model for migrating standard COBOL into .NET.
The steps to the process are generally as follows:
How the tool was made...
 |
Robert's original COBOL code (the engine) .
This is standard non OO COBOL and includes a very useful parser for COBOL, as well as demonstrating how nested programs can be used in COBOL. |
 |
Pete's wrapping of Robert's code (the engine becomes a COM component)
This is OO COBOL and implements the COM interface. Robert's nested programs have become Object Methods.
|
 |
Bringing it all together on .NET
We have to get InterOP services to manage the component in the .NET framework. The component is NOT CLR code, and was NOT written with a compiler that generates CLR. It still runs transparently in the Framework. |
 |
Start 'er up!!!
Snippet of the C# code showing the COBOL Engine being activated |
 |
Sample of the User Interface C# code. This is the code for "form1" of the user interface. The full Visual Studio Solution, with all other code files, support files, images,
and icons, is included with the COBOL Structure Analyser Tool Source download. (See button below).
|
 |
Process diagram - Legacy COBOL to .NET
Sometimes a picture can be helpful...
This diagram shows an overall technical strategy for bringing COBOL Legacy into .NET.
If you are interested in tools to help you do this, or automate it, please contact:
Pete Dashwood.(remove "xyz" from the mail link)
This process normally starts with converting ISAM flat files to Relational Database. PRIMA has tools that can fully automate this.
For further discussion of the process outlined here, click here |
The COBOL structure analysis tool is Freeware (NOT Public Domain) software, and there are some minimal conditions attached to using it. The engine was written by Robert Wagner and the conversion to OO COM and plugging it into the .NET Framework was done by Pete Dashwood.
Please review our no-nonsens, plain English Licence terms. Once you have done so you will be able to download full source and/or the executable.
(You cannot download until you
have viewed the Licence)