Notes:
12345678901234567890123456789012345678901234567890123456789012345678901234
*890123456789012345678901234567890
* file : hello-world-classic.cob
* notes : this is a classic COBOL demo
* build : cobc -x hello-world-classic.cob
* execute: ./hello-world-classic
* history:
* when who what
* 2023-02-14 NSR original effort
IDENTIFICATION DIVISION.
PROGRAM-ID. hello-world-classic.
PROCEDURE DIVISION.
DISPLAY "Hello World!".
STOP RUN.
$ cobc -x hello-world-classic.cob$
$ ./hello-world-classic
Hello World!
$ man cobc
[[[ Linux manual contents are displayed ]]]
$ cobc -help
[[[ help text is displayed ]]]
$ cobc -i
[[[ compiler default flags are displayed ]]]
Back to Home