Though its popularity has waned COBOL is still powering business critical operations within many major organizations. As the need to update upgrade and troubleshoot these applications grows so may the demand for anyone with COBOL development knowledge.
Fedora 33 represents an excellent platform for COBOL development. This article will detail how to install and configure tools as well as compile and run a COBOL program.
GnuCOBOL is a free and open modern compiler maintained by volunteer developers. To install open a terminal and execute the following command.
Once completed execute this command to verify that GnuCOBOL is ready for work.
You should see version information and build dates. Don8217t worry if you see the error 8220no input files8221. We will create a COBOL program file with the Vim text editor in the following steps.
Fedora ships with a minimal version of Vim but it would be nice to have some of the extra features that the full version can offer such as COBOL syntax highlighting. Run the command below to install Vim-enhanced which will overwrite Vim-minimal.