We help IT Professionals succeed at work.

Compatibility  of Cobol on Linux

Flex Tron
Flex Tron asked
on
Dear Gurus
I have a old AIX machine which has MicroFocus Cobol 5.1 running on it.
Now I need to move it to RHEL Version 7.
Is there a way we can find if this will be compatible with Red Hat Linux 7 or not.
If not, which version of Linux it will be compatible with.

Best Regards,
Flex
Comment
Watch Question

CERTIFIED EXPERT
Commented:
It seems that you should be able to install it on Linux.  You just need to specify the Linux version you wish to download.  

Log into supportline.microfocus.com with your username and password.  Click "Downloads".  On the next page, from the drop-down list, select the product Server Express or Server for COBOL, then click Search.

On the next page, put a check-mark in the legal box, then click the + sign to expand
the product, then see a bunch of + signs for each 5.1 release.  Click the + sign
next to the release of your choice. Then click the + sign to expand the appropriate
platform (AIX, Red Hat, etc).
from https://community.microfocus.com/t5/Net-Express-Server-Express/Installing-or-upgrading-Server-Express-or-Server-for-COBOL-on/ta-p/1745872
nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:

You may want to consider moving to RHEL8 as you are starting a new project that will have longer support time left.

David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
1) I have a old AIX machine which has MicroFocus Cobol 5.1 running on it.
Now I need to move it to RHEL Version 7.

Start with RHEL 8 or Ubuntu Focal (releases in a few weeks). as noci suggested.

There are many reasons for this. If you require a deep dive into reasons, best open a new question about why RHEL 8 in stead of RHEL 7.

2) Is there a way we can find if this will be compatible with Red Hat Linux 7 or not.
If not, which version of Linux it will be compatible with.

Moving your COBOL code to Linux will likely require some code modification, as this will be the same anytime you change COBOL compilers.

How much code modification you'll require is determined by current coding practices + COBOL compiler you choose.

So a better way to think of this is in terms of COBOL compilers, rather than Linux Distros.
Flex TronDeveloper

Author

Commented:
@noci. I cannot move to RHEL 8 as it is not yet approved to be used in our company. It has to be either RHEL 6 or 7.
nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:

from:  https://access.redhat.com/support/policy/updates/errata#Life_Cycle_Dates
you can find the end-of-support dates:

RHEL 6 is going EOL 11/30/2020 and

7.1 (ended March 31, 2017)
7.2 (ended November 30, 2017)
7.3 (ended November 30, 2018)
7.4 (ends August 31, 2019)
7.5 (ends April 30, 2020)
7.6 (ends October 31, 2020)
7.7 (ends August 30, 2021; Final RHEL 7 EUS Release)


afaict 7.7 is the last on  RHEL 7.

So if it needs to run after that it will make more sense porting it to RHEL 8.