COBOL: Difference between revisions

Created page with "COBOL is an old language which is commonly used in mainframe computers. Since COBOL is no longer widely used and taught, there is now a scarcity of COBOL programmers which ar..."
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
COBOL is an old language which is commonly used in mainframe computers.
COBOL is an old language which is commonly used in mainframe computers.


Since COBOL is no longer widely used and taught, there is now a scarcity of COBOL programmers which are needed to maintain old mainframes.<br>
Since COBOL is no longer widely taught in academia, there is now a scarcity of COBOL programmers which are needed to maintain old mainframes.<br>
*
*


Line 7: Line 7:
===Linux===
===Linux===
* Download [https://sourceforge.net/projects/open-cobol/ GnuCOBOL] by following the [https://sourceforge.net/p/open-cobol/wiki/Install%20Guide/ Install Guide]
* Download [https://sourceforge.net/projects/open-cobol/ GnuCOBOL] by following the [https://sourceforge.net/p/open-cobol/wiki/Install%20Guide/ Install Guide]
<pre>
# Install prerequisites
sudo apt install libgmp-dev libltdl-dev
sudo apt install libdb-dev libncurses-dev
# Download gnucobol
wget -O gnucobol-3.0-rc1.tar.xz https://sourceforge.net/projects/open-cobol/files/gnucobol/3.0/gnucobol-3.0-rc1.tar.xz/download
tar xf gnucobol-3.0-rc1.tar.xz
# Install
cd gnucobol-3.0-rc1.tar.xz
./configure
make
sudo make install
ldconfig
</pre>


==Getting Started==
==Getting Started==
Line 14: Line 30:
==Resources==
==Resources==
* [https://www.tutorialspoint.com/compile_cobol_online.php Online Cobol Compiler]
* [https://www.tutorialspoint.com/compile_cobol_online.php Online Cobol Compiler]
* [https://open-cobol.sourceforge.io/ COBOL Guides]


==References==
==References==