On Tue, Feb 9, 2016 at 1:30 PM, Duerbusch, Tom <[email protected]> wrote:
> We are looking at moving an application to DB2/UDB on zLinux (Suse). > That application has 6 Stored Procedures that have been written in Cobol. > > What are some of my options? > Hiring or training a programmer to convert 6 programs to C, just doesn't > seem feasible. > But then, buying a Cobol compiler just for 6 programs also doesn't seem > cost effective. > What other options have shops employed? > Are there multiple Cobol compiler vendors available? > Micro Focus Cobol? > GNU COBOL? https://en.wikipedia.org/wiki/GnuCOBOL I have it on my Fedora Linux/Intel system. It compiles many of the Enterprise COBOL program which I have on z/OS. The only thing which might be a problem is that there is no DB2 preprocessor, if you use EXEC SQL statements in your COBOL code. And I don't know if the output from the z/OS DB2 preprocessor for COBOL on z/OS would produce COBOL which could then interface with LUW DB2. Note that GNU COBOL actually does a COBOL source to C source code conversion, then uses gcc to compile the C source code. So, if you wanted to, you could try (for free) using GNU COBOL to convert the COBOL code to C source (-C compile switch) and see if you think that the resultant C code is maintainable. Note that I'm totally ignorant of DB2 and stored procedures. > Does IBM's Visual Age/Cobol work in zLinux (or still available)? > > Thanks > > Tom Duerbusch > THD Consulting > > -- > > ---------------------------------------------------------------------- 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/
