Research and Advances

The use of COBOL subroutines in FORTRAN main programs

If a problem requires both complicated calculations and edited output printing, then the computing part can be efficiently handled in FORTRAN and the editing part, e.g. punctuation, check protect and floating dollar sign, can be conveniently done in COBOL, in particular by the PICTURE clause. The following programs illustrate the simple technique of combining FORTRAN and COBOL. The main program is written in FORTRAN and the subroutine in COBOL. The programs were run on IBM 7090.

Advertisement

Author Archives

Shape the Future of Computing

ACM encourages its members to take a direct hand in shaping the future of the association. There are more ways than ever to get involved.

Get Involved