Open COBOL Compile Source

[codesyntax lang=”bash”]

$ cobc -c subr1.cob
$ cobc -c subr2.cob
$ cobc -c -x main.cob
$ cobc -x -o prog main.o subr1.o subr2.o

A program is developed to search directories containing COBOL source code and determine the main module while simultaneously creating the COBOL compile script depicted above.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

Your email address will not be published. Required fields are marked *