Stand-alone DB2 Applications

If your DB2 application is to run as intermediate code or generated code you do not need to link.

In order to create a DB2 application as either an executable or a callable shared object, you must build it thus for executable:

cob -xvt db2prog.cbl -N nolitlink

or for callable shared object:

cob -zvt db2prog.cbl -N nolitlink