Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating to a GUI without losing business logic written in COBOL

We maintain a system that has over a million lines of COBOL code. Does someone have suggestions about how to migrate to a GUI (probably Windows based) without losing all the business logic we have written in COBOL? And yes, some of the business logic is buried inside the current user interface.

like image 815
Thayne Avatar asked Dec 15 '25 21:12

Thayne


2 Answers

If it was me I would look into something like this:

NetCobol for Windows

It should be fairly easy to wrap your COBOL with an interface that exposes the functionality (if it isn't already written that way) and then call it from a .NET application.

It took us about 15 years to get off of our mainframe, because we didn't do something like this.

like image 184
bruceatk Avatar answered Dec 17 '25 22:12

bruceatk


Writing a screen scraper is probably your best bet. Some of the major ERP systems have done this for years during a transition from server based apps to 3-tier applications. One i have worked with had loads of interesting features such as drop down lists for regularly used fields, date pop ups and even client based macro languages based on the scraping input.

These weren't great but worked well for the clients and made sure the applications still worked in a reliable fashion.

There is a lot of different ways to put this together, but if you put some thought into it you could probably use java or .net to create a desktop based application and with a little extra effort make a web based implementation.

like image 27
Mark Nold Avatar answered Dec 17 '25 22:12

Mark Nold



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!