Link to home
Start Free TrialLog in
Avatar of Flex Tron
Flex TronFlag 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
ASKER CERTIFIED SOLUTION
Avatar of serialband
serialband
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of noci
noci

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

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.
Avatar of 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.

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.