Title here
Summary here
Our first program will print the classic “hello world” message. Here’s the full source code.
To run the program, compile the code into an executable using a COBOL compiler and then execute it.
Sometimes we’ll want to build our programs into binaries that can be executed directly. Using COBOL, the cobc
command allows us to compile COBOL programs.
We compile the code first and then produce the executable:
We can then execute the built binary directly.
Now that we can run and build basic COBOL programs, let’s learn more about the language.