Avatar of Flex Tron
Flex Tron
Flag for United States of America asked on

Compatibility of Cobol on Linux

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
LinuxCOBOL

Avatar of undefined
Last Comment
noci

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
serialband

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
noci

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

David Favor

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 Tron

ASKER
@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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
noci

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.