Re: COBOL to Java conversion



On 29 Okt., 20:15, "Sergey Kashyrin" <s...@xxxxxxxxxxx> wrote:
"HansJ" <hji...@xxxxxx> wrote in message

news:1193659579.442522.126090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

We are in the business of migrating Unisys COBOL mainframe
applications to Unix.
Using the same programming language and keeping the code intact is a
key element, because we think that there are enough issues to deal
with.
Recently we have seen requests to not only move to a different
platform, but also to change the language to be Java.
We don't need to discuss all the issues that come with a language
change, like maintainability, staff competence, etc. as this is a
different topic.
I would be interested in knowing if anyone has seen a successful
project of this type that has a significant size.
A significant size would be more than one million lines of COBOL code.

Thanks HansJ

There are some automatic converters from Cobol to Java on the market (just
google them) but so far none of them producing 100% equivalent code, so you
have to rewrite a lot of things manually (some of the converters just
convert partially, some of them convert all COMP-3 and zoned arithmetics
into floating point...)

Your another option (if allowed) is to convert to C/C++ automatically (using
OpenCobol, for example).
The code will not look very friendly, but you will be able to recognize your
statements.
At least you will have a 100% working program, and than if you want you can
change it manually putting back the original variables names, making the
code more short and readable, etc. (and typically that's possible and not
very complicated).

Bad idea anyway. Good luck.
Sergey

Sergey,

thanks for your comments, I know that there are converters and we have
seen some of the converted code as a sample, but that was just a
complex subroutine and not an application.

I know about Open Cobol and we are using it, so I know about the the C
code that is generated. This would be something I could understand. I
did also read a bit about LegacyJ, what I'd like to know is if there
are successful projects completed.

Thanks HansJ

.



Relevant Pages

  • Re: COBOL to Java conversion
    ... Using the same programming language and keeping the code intact is a ... but also to change the language to be Java. ... A significant size would be more than one million lines of COBOL code. ... There are some automatic converters from Cobol to Java on the market (just ...
    (comp.lang.cobol)
  • Re: Recommended HP COBOL way to exit a paragraph or perform early?
    ... the snobs that looked down on the COBOL and RPG programmers. ... programming language elective available -- PL/I, Pascal, Snobol, LISP, ... I can say from experience that every language has its good and bad ... programming language any more than Java, C, C++, or any other. ...
    (comp.os.vms)
  • Re: confusion about data abstraction
    ... formats is that just about any programming language can use them, ... I presume that COBOL is still the most used language. ...
    (comp.object)
  • Re: Java compatibility issues (WAS: MF having issues?)
    ... language it can do most of what C, C++, and Java can do. ... 2002 COBOL standard addresses that, but having a standard is a far ... Some flavours do have libraries. ... On the IBM mainframe we have Language Environment but it does ...
    (comp.lang.cobol)
  • man C
    ... This is the seedoc for C from my cLIeNUX distro. ... language that produces high-performance results. ... The C programming language was developed around 1973 to make UNIX ...
    (comp.unix.programmer)