Re: COBOL to Java conversion




"HansJ" <hjigel@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


.



Relevant Pages

  • 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)
  • Re: Learning *NIX programming?
    ... Currently running Debian GNU Linux. ... If you do see C at a shell prompt in cLIeNUX you get this... ... language that produces high-performance results. ... The C programming language was developed around 1973 to make UNIX ...
    (comp.unix.programmer)
  • DRACO Compiler, by Gray Sage, its Author
    ... Writing compilers is probably a pretty strange hobby, ... The first compiler I wrote, like many programmers who end up writing ... programming language intended for Artificial Intelligence work. ... I came up with a truly ugly programming language, ...
    (comp.os.cpm)
  • Re: F is evil (was: XML::LibXML UTF-8 toString() -vs- nodeValue())
    ... characters instead of a sequence of ASCII characters. ... language, no matter if the programming language makes it easy or not. ... Sometimes this is because they don't speak English too well, ...
    (comp.lang.perl.misc)
  • Re: why does screwed up source code work?
    ... the common man from using "theory". ... Common Intermediate Language ... Common Lisp ... EGL Programming Language (EGL) ...
    (alt.html)