On Mon, May 5, 2014 at 5:10 PM, J. Leslie Turriff
<[email protected]> wrote:
> On Monday 05 May 2014 10:49:22 Neale Ferguson wrote:
>> I saw the following on a LinkedIn group:
>>
>> "Customers who are proposed to migrate from zOS to zLinux may have a
>> concern about the presence of cobol programs. Porting the cobol code to a
>> different language not only may affect the migration costs, but it also may
>> be painful if not even unsuccessful. So, a cobol compiler for zLinux may be
>> picked from the market, but again, this may heavily affect the project
>> costs. The adoption of the OpenCobol compiler might be a fine option. The
>> OpenCobol compiler is an open source project whose site is
>> https://sourceforge.net/projects/open-cobol/";
>>
>> I created a s390x and src RPM for it based on the latest tarball. They are
>> available at http://download.sinenomine.net/opencobol/
>>
>> I've run the test suite and it passes but haven't tried any code of my own
>> (not being a prolific COBOL programmer).
>>
>> Neale
>
>         Be advised that OpenCOBOL is now part of the GCC project
> <http://sourceforge.net/projects/open-cobol/> :
>
> Description
>
> GNU Cobol (formerly OpenCOBOL) is a free COBOL compiler. cobc translates COBOL
> to executable using intermediate C sources, providing full access to nearly
> all C libraries.
>
> OpenCOBOL 1.1 has been uploaded, with full support for SCREEN SECTION.
>
> GNU Cobol 1.1 co-posted to ftp://ftp.gnu.org/gnu/gnucobol (is available here,
> too)
>
> A superb manual by Gary Cutler can be found at
> http://opencobol.add1tocobol.com/OpenCOBOL%20Programmers%20Guide.pdf
>
> FAQ and How-To at http://opencobol.add1tocobol.com/
>
> OpenCOBOL is
>
> Copyright (C) 2001-2009 Keisuke Nishida
> Copyright (C) 2007-2012 Roger While
>
> This program is free software; you can redistribute it and/or modify it under
> the terms of the GNU General Public License as published by the Free Software
> Foundation; either version 2, or (at your option) any later version.
>
> Leslie

Thanks for that link to the OpenCOBOL manual! I will, personally, be
more convinced that it is a GNU project when it is moved to Savanah
and placed in a git repository. But that is just my own feelings on
things. I have used OpenCOBOL to compile a number of batch z/OS COBOL
programs. The compiles when very well. Unfortunately, I can't really
do much testing due to lack of proper infrastructure on my Linux
system - which is on my Intel PC and not on the z. I "hang out" here
as a learning experience (in a positive sense, not in my usually
negative sense).

I wonder how it compares to zCOBOL at http://www.z390.org/zcobol/.
OpenCOBOL compiles to C and then to an executable. zCOBOL compiles to
HLASM source, then uses z390 to compile HLASM to Java bytecode. At
least according to that web site. I haven't used it yet.


--
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to