Let's call the file containing our COBOL Example 5 program:
demo.cbl
The COBOL compiler is called ccbl.
1. To compile the program: Type, from the UNIX prompt:
ccbl demo.cbl
NOTE: As a result of the compilation, a code file, called:
cbl.out, will be created.
2. To execute the program: Type, from the UNIX prompt: runcbl
NOTE: The runcbl command will use and 'interprete' the code
file, cbl.out, to execute the Example 5 program.