Examples: using cob2 for compiling
The following examples show the output produced for various cob2 invocations.
| To compile: | Enter: | These files are produced: |
|---|---|---|
| alpha.cbl | cob2 -c alpha.cbl |
alpha.o |
| alpha.cbl and beta.cbl | cob2 -c alpha.cbl beta.cbl |
alpha.o, beta.o |
alpha.cbl with the LIST and ADATA options |
cob2 -qlist,adata alpha.cbl |
alpha.wlist, alpha.o1, alpha.lst, alpha.adt, and a.out |
|
||