Patent ID: 8869126

Claim:
A method for generating, on a computer system, a multi-threaded program executable from an original annotated source program stored as a single file or module in storage of the computer system, the original annotated source program written primarily in Cobol programming language which is a high level programming language, the method comprising the steps: A) reading from the storage of the computer system the original annotated source program stored as a single file or module and performing a first compiling operation, by a special Cobol translator/compiler, the original annotated source program including both a) original Cobol program statements, and, b) original parallelization directives, each original parallelization directive being related to a specific one or more of the original Cobol program statements, is the special Cobol translator/compiler generating as output, an intermediate directly related high level language computer program in a second high level computer programming language other than Cobol and, as part of the compiling operation, the special Cobol translator/compiler translating both the original Cobol program statements and original parallelization directives into translated intermediate program statements and translated intermediate parallelization directives respectively in the same second high level computer programming language, and both the translated statements and directives being arranged in the output directly related intermediate computer program in an order directly related to that as existing between: a) the original Cobol program statements included within the original annotated source program, and, b) the original parallelization directives included within the original annotated source program; and, B) performing a second compiling operation by a selected standard second high level language compiler on the intermediate directly related high level language computer program produced in step A, the selected second high level language compiler including functionally that provides support for: a) compiling of programming statements in the second high level computer programming language, and further including support for b) application, during the compiling, of parallelization directives mixed with the programming statements, and, C) generating the multi-threaded program executable as output from the second compiling operation of step B.