COBOL to C# Conversion
Ispirer MnMTK performs COBOL to C#.NET conversion of any complexity.
Why Ispirer MnMTK
Ispirer MnMTK automates the entire migration process COBOL to C#.NET conversion. Moreover, choosing Ispirer MnMTK to convert COBOL you eliminate most of associated risks and considerably reduce internal efforts. All these benefits are available at very reasonable and competitive costs, which makes Ispirer MnMTK even more attractive conversion tool for this project type.
Our main benefits:
- High quality and experiences technical support: our technical team has a tremendous experience in migration projects of different levels of complexity.
- Customer-oriented approach and Fast Customization: we personalize our migration tool in such a way that a customized version can fully satisfy our client’s business needs, custom conversions and optimizations are made within 1-2 business days;
- Pre-Sales Engagement: we demonstrate a full conversion during the evaluation before you make a decision.
- Flexible pricing: we can offer you a wide range of options, among which you will definitely find the one which suits you;
- Optimized Conversion: after the conversion you get an intelligent and maintainable code, without using any Ispirer's middleware.
This demo shows how Ispirer MnMTK can convert COBOL applications to C#.NET application:
Assessment Process
The assessment of your migration project could definitely help to weigh up efforts and the approximate cost of your migration. In order to facilitate the process, you're welcome to fill in our:
Ispirer Migration Solution
COBOL to C#.NET Conversion Request
Conversion Features
COBOL Program Structure
IDENTIFICATION DIVISION. PROGRAM-ID. DemoId. ENVIRONMENT DIVISION. DATA DIVISION. PROCEDURE DIVISION. FIRST-PARAGRAPH. DISPLAY "First DEMO".
There are the four divisions:
- IDENTIFICATION DIVISION: This is where you must enter the program name.
- ENVIRONMENT DIVISION: This is where you define the files the program needs.
- DATA DIVISION: This is where you declare variables, records, files etc.
- PROCEDURE DIVISION: This is where you write the program. In the sample above this is all in one paragraph. A paragraph is a series of statements named by a label. There is no specific mark to the end of a paragraph.
Conversion features
- Migrates database of COBOL’s application to MSSQLServer database
- Converts COBOL’s programs to C# classes
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CobolApplication { class DemoId { static void Main(string[] args) { Console.WriteLine("First DEMO"); } } }
Converts identifiers’ names to “camel” case
Converts WORKING-STORAGE section with declaration variables to variables of class
WORKING-STORAGE SECTION. 01 MY_STRING_1 PIC X(20). 01 MY_STRING_2 PIC X(30). 01 MY_NUMBER PIC 9(2) VALUE 1.
To:
private string MyString1; private string MyString2; private int MyNumber = 1;
Converts COBOL records to user-defined C# types
01 MY_DATA_RECORD. 03 MY_NAME PIC X(20) VALUE “John Smit”. 03 MY_ADDRESS PIC X(40) VALUE “Walt street”. 03 MY_ID PIC 9(2) VALUE 123.
To:
public class MyDataRecord { public string MyName = "John Smit"; public string MyAddress = "Walt street"; public int MyId = 123; } public MyDataRecord myDataRecord = new MyDataRecord();
Converts COBOL MOVE TO/COMPUTE statements to C# assignment statements
MOVE 5 TO MY_NUMBER.
To:
MyNumber = 5;
Converts COBOL sections (group of paragraphs or statements) to C# methods. The SECTION could be called using PERFORM statement. PERFORM is converted to call of C# method
DISPLAY-INFORMATION. DISPLAY DISPLAY 'My Number = ' MY_NUMBER.
To:
private void DisplayInformation() { Console.WriteLine("My Number = " + MyNumber); }
Converts COBOL control structures to C# control statements
IF MY_NUMBER > 5 MOVE 12 TO MY_NUMBER.
To:
if (MyNumber > 5) { MyNumber = 12; }
And
PERFORM UNTIL WS-NUMBER-1 > 100 AND WS-NUMBER-1 < 1000 DISPLAY " Still between 100 and 1000" END-PERFORM
To:
while ((MyNumber > 100) && (MyNumber < 1000)) { Console.WriteLine("Still between 100 and 1000"); }
Converts Screen output (DISPLAY statement) to “Console.WriteLine” method
You are welcome to contact us for more information.
|