You create a generated code file using the Compiler. There is no need to link the program. However, to run the program you need to do one of the following:
For more details see Packaging Applications.
You can compile the source code file myprog.cbl to generated code as follows:
cob -ug myprog.cbl
This creates a generated code file called myprog.gnt,and Animator information files.
You can also create a .gnt file from an .int file using:
cob -ug myprog.int