Hi WMK
Thank you for your question.
The Assembler source input was Unisys OS/3 Assembler and the output was Microfocus COBOL on HP-UNIX. If you now think, the tool is not usable for IBM or Siemens, you are wrong.
I have tested an IBM 600 lines Assembler subprogram on Unisys OS/3 and it runs fine without any corrections. That means, the instruction set of Unisys Assembler is the same, to IBM, the DTF ’s are the same and if some macros have other names, but the same function, it will be easy to modify the tool.
For the most programs, the converter does not convert 100 %. If the tool should generate 100 %, the codes will be not good readable und not good for maintenance. In the normal case the code generated by the converter is correct. The rest, converted by the programmer has a higher risk of errors. This causes the need of the COBOL output in mainframe COBOL and UNIX COBOL. The mainframe COBOL is needed to test the Assembler version and the COBOL version on the mainframe and to compare all new or updated files of each executed program. After a successful test, the COBOL program goes in production on the mainframe. If there is still a problem, you can change back from COBOL to Assembler and than fix the problem. This is an importent point or you will run into trouble.
The conversion from mainframe COBOL to UNIX COBOL is easy to do by a small tool. By testing the converted programs on the UNIX system, you run in the next problem: “Unpacked numeric fields on the mainframe can contain blanks without causing any problems, on UNIX are blanks not allowed in numeric fields. The EBCDIC to ASCII translation can cause a difference in sort, test for numeric and other problems. To move a program from mainframe to UNIX and back without doing any changes, the client decided to use copy’s for all parts, which are different on both systems. This was importent, to have on all systems the latest version.
The Unisys OS/3 system is cancelled, but the Assembler COBOL conversion tool is and I would like to find someone, who will test my tool on an other system and I will modify the tool, if there is a need.
PeterLorbeer