The present invention relates to a method for translating computer programs from a language having the attributes of computer programming language COBOL to a language having the attributes of the computer programming language Java. In particular, source language primitive functions are represented by ...
For example, if a conversion tool is designed to convert Cobol code into Java™ code, and later there is a need for converting DB2 (DB2 is a trade-mark of IBM Corporation in the United States, other countries, or both) database definitions into Java code, an entirely new conversion ...
Decimal arithmetic, which has been supported in COBOL and prior languages as well as old IBM computers, already exists when the alphabet is limited to digit characters 0-9. To obtain the desired result, simply place the decimal point in front, multiply by 2, and then subtract 1. Algorithm ...
COBOLJAVA翻译PERFORMGOTO控制流传统语言COBOL从诞生至今已有近50年历史,现存约有1 000亿行代码是用COBOL编写的.维护这些遗产代码的一个有效方法是将其翻译成现代语言,例如Java.其中将COBOL语言中GOTO和PERFORM语句及其复合控制结构消除是翻译过程中的一个关键步骤.提出一种利用switch,while语句来消除GOTO和PERFORM复合控制...
system13can be written as (a) an object oriented programming language, which has classes of data and methods, or (b) a procedure programming language, which has routines, subroutines, and/or functions, for example, but not limited to, C, C++, Pascal, Basic, Fortran, Cobol, Perl, Java,...