Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!ken From: ken@rochester.arpa (Ken Yap) Newsgroups: comp.lang.misc Subject: Re: Wang VS Cobol to C translator Message-ID: <350@sol.ARPA> Date: Mon, 15-Jun-87 12:58:44 EDT Article-I.D.: sol.350 Posted: Mon Jun 15 12:58:44 1987 Date-Received: Sun, 21-Jun-87 01:56:47 EDT References: <600@attvcr.UUCP> <902@rtech.UUCP> <7055@mimsy.UUCP> Reply-To: ken@rochester.UUCP (Ken Yap) Distribution: na Organization: U of Rochester, CS Dept, Rochester, NY Lines: 12 Having done some Cobol-Cobol translations in the past (naturally I did most of the work with a translator), I can tell you it can be worse. You may have to do data translation if you intend to continue with existing data. Cobol has a version of discriminated unions. If the alignments are different on the target machine, well what you have to do is write a program to read the records and repack the data. Which is what I did. Table driven of course, because there were several such files. I'd say rewrite the thing from scratch, if you can afford it. Ken